Symbol

Um ein Symbol anzuzeigen, verwenden wir die Komponente, das Symbol .
Die Textbereichskomponente in JUI stellt einen HTML-Code <icon/> dar.

Die unter Adobe Spectrum Icons verfügbaren Symbole sind mit unserer App kompatibel.

const iconJSON =  {
    "component": "icon", //tells the component name
    "icon": "info", // name of the icon to be used
    "size": "S", // size of the icon
    "title": "Information" // tooltip corresponding to the icon.
},

Schaltflächen können auch Symbole hinzugefügt werden.

Das gerenderte Symbol sieht wie folgt aus:

icon

recommendation-more-help
11125c99-e1a1-4369-b5d7-fb3098b9b178