// nextjs components import Link from "next/link" // @mui material components import Card from "@mui/material/Card" import MuiLink from "@mui/material/Link" // ThreeD Garden components import MDBox from "~/components/mui/MDBox" import MDTypography from "~/components/mui/MDTypography" import MDButton from "~/components/mui/MDButton" // Declaring props types for SimpleBlogCard interface Props { image: string title: string description: string action: { type: "external" | "internal" route: string color: | "primary" | "secondary" | "info" | "success" | "warning" | "error" | "dark" | "light" | "default" label: string [key: string]: any } } function SimpleBlogCard({ image, title, description, action, }: Props): JSX.Element { return ( {title} {description} {action.type === "external" ? ( {action.label} ) : ( {action.label} )} ) } export default SimpleBlogCard