IControlProps
interface
Form & Input
Minimal prop shape for standalone icon-button controls (clear, visibility-toggle, counter actions). Requires an icon, a class string, and an accessible aria-label.
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.
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.
- iconrequisTIcon
- Icon identifier — MDI name, URL, or component — shown inside the control button.
- classrequisstring
- CSS class applied to the control root element.
- 'aria-label'requisstring
Usage
Exemples
Extraits de code prêts à coller utilisant cette interface.
Passing IControlProps to a field clear button