import * as React from "react"; import { cn } from "@/lib/utils"; interface EmptyStateProps extends Omit< React.HTMLAttributes, "title" > { icon?: React.ReactNode; title?: React.ReactNode; description?: React.ReactNode; action?: React.ReactNode; } export const EmptyState = React.forwardRef( ( { className, icon, title, description, action, children, ...props }, ref, ) => (
{icon ? (
{icon}
) : null} {title ? (

{title}

) : null} {description ? (

{description}

) : null} {action} {children}
), ); EmptyState.displayName = "EmptyState";