TEmptyStatePreset

type
Interaction & State

Visual presets for <OrigamEmptyState>. Each preset bundles a default icon and intent so consumers do not need to wire those by hand for the common cases.

TypeScript

Définition

La définition TypeScript telle que trouvée dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.

typescript

Acceptées

Valeurs

Valeurs littérales de chaîne acceptées pour ce type. Cliquez sur une valeur pour la copier.

error
An operation or data fetch failed. The CTA is typically a retry button.
no-data
Generic "nothing to show yet" placeholder — used when a collection is empty and no search/filter is active.
no-results
A search or filter returned no matching items. The CTA typically invites the user to clear or adjust filters.
offline
No network connection detected. The CTA typically offers offline-mode or a reconnect action.
locked
The feature is gated behind authentication, a pricing plan, or permissions. The CTA invites the user to upgrade or sign in.

Écosystème

Utilisé par

Composants et props qui acceptent ce type comme valeur.

Usage

Exemples

Extraits de code prêts à coller utilisant ce type.

No-data empty state

html

Error empty state with retry

html