import type { ReactElement } from "react"; import { Box, Typography } from "@mui/material"; import { cn } from "@/lib/utils"; type EmptyStateProps = { icon?: ReactElement; title: string; description?: string; action?: ReactElement; className?: string; }; export function EmptyState({ icon, title, description, action, className }: EmptyStateProps) { return ( {Boolean(icon) && {icon}} {title} {Boolean(description) && ( {description} )} {Boolean(action) && {action}} ); }