Separate Client Portal & Dashboard
This commit is contained in:
15
frontend/dashboard/src/components/Iconify.tsx
Normal file
15
frontend/dashboard/src/components/Iconify.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
// icons
|
||||
import { Icon, IconifyIcon } from '@iconify/react';
|
||||
// @mui
|
||||
import { Box, BoxProps, SxProps } from '@mui/material';
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
interface Props extends BoxProps {
|
||||
sx?: SxProps;
|
||||
icon: IconifyIcon | string;
|
||||
}
|
||||
|
||||
export default function Iconify({ icon, sx, ...other }: Props) {
|
||||
return <Box component={Icon} icon={icon} sx={{ ...sx }} {...other} />;
|
||||
}
|
||||
Reference in New Issue
Block a user