IColorProps
interface
Color & Intent
Foreground-only color contract — extended by components whose only colour concern is the text/icon (color).
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.
- colorTColor
- Foreground (text / icon) color — an intent name, raw CSS color, gradient string or structured gradient object.
É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 the interface on a component