import { Card, CardContent, CardProps, Typography } from "@mui/material"; import InboxIcon from "@mui/icons-material/Inbox"; interface EmptyRecordsPlaceholderProps { title: string; subtitle?: string; icon?: React.ReactNode; CardProps?: CardProps; } export const EmptyRecordsPlaceholder = ( props: EmptyRecordsPlaceholderProps ) => { const { title, subtitle, icon, CardProps = {} } = props; return ( {icon || ( )} {title} {subtitle} ); };