import { FC, forwardRef } from "react" // ThreeD Garden components import MDTypography from "~/components/mui/MDTypography" // Custom styles for MDProgress import MDProgressRoot from "~/components/mui/MDProgress/MDProgressRoot" // Delcare props types for MDProgress interface Props { variant?: "contained" | "gradient" color?: | "primary" | "secondary" | "info" | "success" | "warning" | "error" | "light" | "dark" value: number label?: boolean [key: string]: any } const MDProgress: FC = forwardRef( ({ variant, color, value, label, ...rest }, ref) => ( <> {label && ( {value}% )} ) ) // Declaring default props for MDProgress MDProgress.defaultProps = { variant: "contained", color: "info", value: 0, label: false, } export default MDProgress