IAdjacentProps
interface
Layout & Sizing
Props for icons and avatars placed OUTSIDE the component chrome (prepend, append) — used by buttons, list items, cards and similar surface components.
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.
- appendAvatarstring
- URL of an avatar image rendered at the trailing edge of the component.
- appendIconTIcon
- Icon rendered at the trailing edge of the component.
- prependAvatarstring
- URL of an avatar image rendered at the leading edge of the component.
- prependIconTIcon
- Icon rendered at the leading edge of the component.
- prependAriaLabelstring
- appendAriaLabelstring
Écosystème
Utilisé par
Composants et composables qui étendent ou consomment cette interface.
Usage
Exemples
Extraits de code prêts à coller utilisant cette interface.
Button with prepend and append icons