ente/web/packages/shared/components/Navbar/SidebarToggler.tsx
2024-03-01 12:21:07 +05:30

13 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>
);
}