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.

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.

appendAvatar
string
URL of an avatar image rendered at the trailing edge of the component.
appendIcon
TIcon
Icon rendered at the trailing edge of the component.
prependAvatar
string
URL of an avatar image rendered at the leading edge of the component.
prependIcon
TIcon
Icon rendered at the leading edge of the component.
prependAriaLabel
string
appendAriaLabel
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.

Button with prepend and append icons

vue