IBgColorProps

interface
Color & Intent

Background-only color contract — extended by components that own a surface (Btn, Card, Badge, Alert…). Kept orthogonal to IColorProps so a component can opt into one axis independently.

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.

bgColor
TColor
Background (surface) 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 surface component

typescript