| empty_state |
component |
ts |
ui |
1.0.0 |
impure |
EmptyState(props: EmptyStateProps): JSX.Element |
Placeholder para listas y tablas vacías con icono, título, descripción y acción opcional. Tabler Icons por defecto. |
| empty-state |
| placeholder |
| no-data |
| component |
| ui |
| mantine |
|
|
|
|
false |
|
| @mantine/core |
| @tabler/icons-react |
|
false |
|
|
frontend/functions/ui/empty_state.tsx |
react |
false |
|
| name |
type |
required |
description |
| icon |
React.ReactNode |
false |
Icono a mostrar. Default: IconInbox de @tabler/icons-react. |
|
| name |
type |
required |
description |
| title |
string |
false |
Título del empty state. Default: 'No data found'. |
|
| name |
type |
required |
description |
| description |
string |
false |
Descripción explicativa. Default: 'There are no items to display yet.'. |
|
| name |
type |
required |
description |
| actionLabel |
string |
false |
Texto del botón de acción. Se muestra solo si también hay onAction. |
|
| name |
type |
required |
description |
| onAction |
() => void |
false |
Callback del botón de acción. Se muestra solo si también hay actionLabel. |
|
| name |
type |
required |
description |
| size |
MantineSize |
false |
Tamaño general del componente. Afecta el icono, texto y botón. Default: 'md'. |
|
| name |
type |
required |
description |
| children |
React.ReactNode |
false |
Contenido custom renderizado debajo de la descripción y antes del botón. |
|
|
Componente EmptyState centrado con icono, mensaje y botón de acción para estados sin datos |
| name |
desc |
| props |
Props del componente EmptyState |
|
|