TIcon

type
Data Display

Accepted value for any icon prop across the design system — a string glyph name, a multi-path SVG array, or a Vue component.

TypeScript

Définition

La définition TypeScript telle que trouvée dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.

typescript

Acceptées

Valeurs

Valeurs littérales de chaîne acceptées pour ce type. Cliquez sur une valeur pour la copier.

string
(string | [path: string, opacity: number])[]
ComponentOptions<any, any, any, ComputedOptions, MethodOptions, any, any, any, string, {}, {}, string, {}, {}, {}, string, ComponentProvideOptions>
FunctionalComponent<any, {}, any, {}>
ComponentPublicInstanceConstructor<any, any, any, any, ComputedOptions, MethodOptions>

Écosystème

Utilisé par

Composants et props qui acceptent ce type comme valeur.

Usage

Exemples

Extraits de code prêts à coller utilisant ce type.

String glyph name (MDI)

html

Custom Vue component as icon

vue

Multi-path SVG array with per-path opacity

html