| 26 | * doesn't collapse when there's no data). |
| 27 | */ |
| 28 | export interface EmptyStateProps { |
| 29 | icon?: LucideIcon |
| 30 | title: string |
| 31 | description?: ReactNode |
| 32 | action?: ReactNode |
| 33 | size?: "sm" | "md" |
| 34 | /** Force min-height (px). Useful for chart cells that shouldn't collapse. */ |
| 35 | minHeight?: number |
| 36 | /** |
| 37 | * Wrap the icon in a card-on-card chip framed by an Attio-style wide |
| 38 | * hairline grid backdrop that fades to transparent at the outer |
| 39 | * edges. Use for full-pane empties that need real presence |
| 40 | * (Automations, primary list views). Default off so compact in-card |
| 41 | * empties stay flat. Only applies when `size="md"`. |
| 42 | */ |
| 43 | decorated?: boolean |
| 44 | /** Extra classes on the outer wrapper. */ |
| 45 | className?: string |
| 46 | } |
| 47 | |
| 48 | export function EmptyState({ |
| 49 | icon: Icon, |
nothing calls this directly
no outgoing calls
no test coverage detected