// material-ui import { styled } from '@mui/material/styles'; import { Card, CardContent, Grid, Typography } from '@mui/material'; import { GenericCardProps } from 'types'; // styles const IconWrapper = styled('div')({ position: 'absolute', left: '-17px', bottom: '-27px', color: '#fff', transform: 'rotate(25deg)', '&> svg': { width: '100px', height: '100px', opacity: '0.35' } }); export interface UserCountCardProps { primary: string; secondary: string; iconPrimary: GenericCardProps['iconPrimary']; color: string; } // =============================|| USER NUM CARD ||============================= // const UserCountCard = ({ primary, secondary, iconPrimary, color }: UserCountCardProps) => { const IconPrimary = iconPrimary!; const primaryIcon = iconPrimary ? : null; return ( {primaryIcon} {secondary} {primary} ); }; export default UserCountCard;