import { Center, Stack, Text, ThemeIcon } from '@mantine/core' import { IconInbox, type Icon } from '@tabler/icons-react' import type { ReactNode } from 'react' interface Props { title: string description?: string icon?: Icon action?: ReactNode } export function EmptyState({ title, description, icon: Icon = IconInbox, action }: Props) { return (
{title} {description && {description}} {action}
) }