interface EmptyStateProps { children?: React.ReactNode title?: string | React.ReactNode description?: string | React.ReactNode illustration?: React.ReactNode } export function EmptyState({ illustration, title, children, description, }: EmptyStateProps) { return ( <>
{illustration != null && (
{illustration}
)}
{title}
{description}
{children != null && (
{children}
)}
) }