Placeholder
A component for displaying empty states or loading content.
Placeholder
A versatile component for displaying empty states with optional icon, title, subtitle, and action button.
Import
Features
- Customizable empty state display
- Support for icons, title, subtitle
- Optional action button
- Flexible styling options
Props
| Prop | Type | Default | Description | 
|---|---|---|---|
| icon | IconName | — | Icon to display above the title | 
| title | string | — | Main text to display | 
| subtitle | string | — | Secondary text below the title | 
| action | { title: string, onPress: () => void } | — | Optional action button configuration | 
| className | string | — | Additional classes for the container |