({ icon: Icon, text }: WidgetEmptyStateProps)
| 59 | text: string; |
| 60 | } |
| 61 | export function WidgetEmptyState({ icon: Icon, text }: WidgetEmptyStateProps) { |
| 62 | return ( |
| 63 | <div className="flex flex-col items-center justify-center gap-2 py-8 text-muted-foreground"> |
| 64 | <Icon size={28} strokeWidth={1.5} /> |
| 65 | <p className="text-sm">{text}</p> |
| 66 | </div> |
| 67 | ); |
| 68 | } |
| 69 | |
| 70 | export interface WidgetProps { |
| 71 | children: React.ReactNode; |
nothing calls this directly
no outgoing calls
no test coverage detected