Something went wrong. Try again.
Self-hosted file management and sharing system, supports multiple storage providers. forked from tdvorak.tngl.sh/cloudreve
Something went wrong. Try again.
12345678910111213141516171819202122import { Box, Typography } from "@mui/material";
export interface StyledFormControlProps { title?: React.ReactNode; children: React.ReactNode;}
const StyledFormControl = ({ title, children }: StyledFormControlProps) => { return ( <Box> {title && ( <Typography fontWeight={600} sx={{ mb: 0.5 }} variant={"body2"}> {title} </Typography> )} {children} </Box> );};
export default StyledFormControl;