アイコン
アイコンを表示するには、コンポーネントのアイコンを使用します。
JUI のテキスト領域コンポーネントは、html を表します。 <icon/>
.
アイコンは次の場所で使用できます: Adobeスペクトルアイコン はアプリと互換性があります。
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.
},
アイコンをボタンに追加することもできます。
レンダリングされたアイコンは次のようになります。
recommendation-more-help
11125c99-e1a1-4369-b5d7-fb3098b9b178