IRoundedProps
interface
Shape
Corner-radius contract for every component whose surface can be rounded. Supports named token rungs (small/default/large/…), a boolean shorthand for the default token, or raw CSS border-radius values.
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.
- roundedboolean | number | string | TRounded | null | undefined
- Corner-radius selector: a TRounded named rung emits --rounded-{name} class; boolean true (or empty string) emits --rounded; a number or CSS string is applied as a raw border-radius via inline style.
- roundedTopRightboolean | number | string
- Applies rounding only to the top-right corner. Accepts the same shapes as rounded.
- roundedTopLeftboolean | number | string
- Applies rounding only to the top-left corner. Accepts the same shapes as rounded.
- roundedBottomLeftboolean | number | string
- Applies rounding only to the bottom-left corner. Accepts the same shapes as rounded.
- roundedBottomRightboolean | number | string
- Applies rounding only to the bottom-right corner. Accepts the same shapes as rounded.
- roundedStartStartboolean | number | string
- roundedStartEndboolean | number | string
- roundedEndStartboolean | number | string
- roundedEndEndboolean | number | string
É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 IRoundedProps and consuming rounded styles