import { type } from 'ramda'; import type { ReactElement, ReactNode } from 'react'; import { useStyles } from './PageLayout.styles'; type PageLayoutBodyProps = { children: Array | ReactNode; hasBackground?: boolean; className?: string; }; export const PageLayoutBody = ({ children, hasBackground = false, className }: PageLayoutBodyProps): ReactElement => { const { classes, cx } = useStyles(); return (
{children}
); };