mirror of
https://github.com/ente-io/ente.git
synced 2025-05-25 04:22:38 +00:00
14 lines
344 B
TypeScript
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>
|
|
);
|
|
}
|