import {FC, ReactNode} from "react";
import styles from './PageBlock.module.css';
import classNames from "classnames";

type Props = {
    children: ReactNode
    fluid?: boolean;
}
export const PageBlock: FC<Props> = ({children, fluid = true}) => {
    return (
        <div className={classNames(styles['container'], fluid && styles['container-fluid'])}>
            {children}
        </div>
    )
}
export default PageBlock;