ente/packages/shared/components/Navbar/SidebarToggler.tsx
2023-12-18 12:00:06 +05:30

14 lines
344 B
TypeScript

import MenuIcon from '@mui/icons-material/Menu';
import IconButton from '@mui/material/IconButton';
interface Iprops {
openSidebar: () => void;
}
export default function SidebarToggler({ openSidebar }: Iprops) {
return (
<IconButton onClick={openSidebar} sx={{ pl: 0 }}>
<MenuIcon />
</IconButton>
);
}