图标
要显示图标,我们使用组件“图标”。
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