import { Drawer, Box, Typography, IconButton, Divider } from '@mui/material' import { Close } from '@mui/icons-material' import type { PropsWithChildren } from 'react' import type { DrawerProps } from '@mui/material' interface MuiDrawerProps extends DrawerProps { title: string onClose: () => void } const MuiDrawer: React.FC> = (props) => { const { children, title, onClose, PaperProps, ...rest } = props return ( {title || 'drawer'} {children} ) } export default MuiDrawer