Files
Account/src/features/profile/components/PageWrapper.tsx
2025-08-12 20:20:28 +03:30

22 lines
393 B
TypeScript

import { Box } from '@mui/material';
import React from 'react';
interface PageWrapperProps {
children: React.ReactNode;
}
export function PageWrapper({ children }: PageWrapperProps) {
return (
<Box
sx={{
mx: 'auto',
backgroundColor: 'background.paper',
display: 'flex',
flexDirection: 'column',
}}
>
{children}
</Box>
);
}