Move into web/

This commit is contained in:
Manav Rathi
2024-03-01 12:21:07 +05:30
parent b3193968e7
commit e15c7e1642
915 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
import { VerticallyCenteredFlex } from "@ente/shared/components/Container";
import { Typography } from "@mui/material";
interface Iprops {
title: string;
icon?: JSX.Element;
}
export default function MenuSectionTitle({ title, icon }: Iprops) {
return (
<VerticallyCenteredFlex
px="8px"
py={"6px"}
gap={"8px"}
sx={{
"& > svg": {
fontSize: "17px",
color: (theme) => theme.colors.stroke.muted,
},
}}
>
{icon && icon}
<Typography variant="small" color="text.muted">
{title}
</Typography>
</VerticallyCenteredFlex>
);
}