IScrimProps
interface
Overlay & Feedback
Minimal prop mixin that adds a backdrop/scrim control to overlay components. A boolean true shows the default semi-transparent backdrop; a string value is treated as a CSS color override for the scrim surface.
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.
- scrimboolean | string
- Controls the backdrop behind the overlay. Pass true for the default semi-transparent scrim, false/undefined to disable, or a CSS color string to override the scrim color.
É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 IScrimProps on a custom overlay