import { Stack, Text, ThemeIcon, Title } from "@mantine/core"; import { ReactNode } from "react"; interface EmptyStateProps { icon: ReactNode; title: string; description?: string; action?: ReactNode; } const EmptyState = ({ icon, title, description, action }: EmptyStateProps) => { return ( {icon} {title} {description && ( {description} )} {action} ); }; export default EmptyState;