import Stack from '@mui/material/Stack';

export type FormLayoutProps = {
  children: React.ReactNode;
};

const FormLayout = ({ children }: FormLayoutProps) => {
  return (
    <Stack
      sx={{
        maxWidth: 'lg',
        mx: 'auto',
        py: 5,
        px: 3,
        pb: 10,
        overflow: 'auto',
      }}
    >
      {children}
    </Stack>
  );
};

export default FormLayout;
