import SvgIcon, { SvgIconProps } from "@mui/material/SvgIcon"; import filled from "../../assets/ic_project=filled_20px.svg"; import outlined from "../../assets/ic_project=outlined_20px.svg"; const variants = ['filled', 'outlined', ] as const; type Variant = typeof variants[number]; type IconProps = SvgIconProps & { variant?: Variant; }; const Project = ({variant = 'outlined', ...rest}: IconProps) => { if (variant === 'filled') { return ; } if (variant === 'outlined') { return ; } return null; }; Project.displayName = 'Project'; Project.variants = variants; export default Project;