IEmptyStateProps
Props for OrigamEmptyState — the placeholder shown when a list, table or collection has nothing to display. Five built-in visual presets (no-data, no-results, error, offline, locked) bundle icon and intent; both can be overridden.
TypeScript
Définition
La définition TypeScript de l'interface telle que trouvée dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.
Héritage
Hérite de
Interfaces parentes dont celle-ci hérite. Leurs propriétés sont disponibles pour tout consommateur de cette interface.
API
Propriétés
Chaque propriété déclarée par cette interface, avec son type, son caractère optionnel et sa valeur par défaut.
- presetTEmptyStatePreset'no-data'
- Visual preset — bundles a default icon and intent. One of: no-data, no-results, error, offline, locked.
- titlestring
- Primary heading. Override entirely via the #title slot for richer markup.
- descriptionstring
- Optional sub-heading rendered below the title. Multiple lines supported.
- iconTIcon
- Override the preset icon. Accepts an MDI/iconify string, SVG path tuples or a Vue Component.
- iconColorTIntent
- Override the preset icon color intent (primary, success, danger, warning, info …).
- sizeTEmptyStateSize'md'
- Vertical density — drives icon size, font sizes, padding and gap.
- alignTEmptyStateAlign'center'
- Horizontal alignment of the icon / title / description / actions stack.
Écosystème
Utilisé par
Composants et composables qui étendent ou consomment cette interface.
Usage
Exemples
Extraits de code prêts à coller utilisant cette interface.
Empty search results placeholder