IStatusProps
interface
Feedback & Status
Status indicator props — extends IIconProps with a semantic status level (success, warning, danger, info) and a position for the status icon badge.
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.
- statusTStatus
- Semantic status level — success, warning, danger or info. Controls the colour and default icon of the status indicator.
- statusIconPositionTStatusPosition
- Position of the status icon badge relative to the component surface (e.g. top-right, bottom-left).
Écosystème
Utilisé par
Composants et composables qui étendent ou consomment cette interface.
Usage
Exemples
Extraits de code prêts à coller utilisant cette interface.
Extending IStatusProps on an Alert component