mirror of
https://github.com/ente-io/ente.git
synced 2025-08-13 17:57:31 +00:00
Move into web/
This commit is contained in:
16
web/packages/shared/components/Menu/MenuItemDivider.tsx
Normal file
16
web/packages/shared/components/Menu/MenuItemDivider.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
import { Divider } from "@mui/material";
|
||||
interface Iprops {
|
||||
hasIcon?: boolean;
|
||||
}
|
||||
export default function MenuItemDivider({ hasIcon = false }: Iprops) {
|
||||
return (
|
||||
<Divider
|
||||
sx={{
|
||||
"&&&": {
|
||||
my: 0,
|
||||
ml: hasIcon ? "48px" : "16px",
|
||||
},
|
||||
}}
|
||||
/>
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user