Spaces:
Sleeping
Sleeping
| import { LucideIcon } from 'lucide-react' | |
| interface EmptyStateProps { | |
| icon: LucideIcon | |
| title: string | |
| description: string | |
| action?: React.ReactNode | |
| } | |
| export function EmptyState({ icon: Icon, title, description, action }: EmptyStateProps) { | |
| return ( | |
| <div className="text-center py-12"> | |
| <Icon className="h-12 w-12 mx-auto text-muted-foreground/60 mb-4" /> | |
| <h3 className="text-lg font-medium text-foreground mb-2">{title}</h3> | |
| <p className="text-muted-foreground mb-4">{description}</p> | |
| {action} | |
| </div> | |
| ) | |
| } | |