IStepperItem

interface
Data Shapes

Descriptor for a single step inside <OrigamStepper>. Used in the items prop array to define the title, optional subtitle, icon, and initial status of each step.

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.

typescript

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.

title
requis
string
Primary label displayed for this step.
subtitle
string
Secondary label displayed below the title.
icon
TIcon
Custom icon overriding the default step number indicator.
status
TStepperItemStatus
Initial status of the step (e.g. complete, error). Drives visual state independently of the modelValue.

Écosystème

Utilisé par

Composants et composables qui étendent ou consomment cette interface.

Usage

Exemples

Extraits de code prêts à coller utilisant cette interface.

Stepper with items array

typescript