import type { ReactNode } from 'react'; interface EmptyStateProps { title: string; description?: string; action?: ReactNode; } export function EmptyState({ title, description, action }: EmptyStateProps): JSX.Element { return (
{description}
: null} {action ?