import { ReactNode } from "react" // @mui material components import Card from "@mui/material/Card" import Icon from "@mui/material/Icon" // ThreeD Garden components import MDBox from "~/components/mui/MDBox" import MDTypography from "~/components/mui/MDTypography" interface Props { color?: | "primary" | "secondary" | "info" | "success" | "warning" | "error" | "dark" icon: ReactNode title: ReactNode description: string [key: string]: any } function MiniInfoCard({ color, icon, title, description }: Props): JSX.Element { return ( {icon} {title} {description} ) } // Declaring default props for MiniInfoCard MiniInfoCard.defaultProps = { color: "info", } export default MiniInfoCard