前言
图标设置。
基本信息
- 英文名称:
Icon Control - 中文名称:图标控件
- Schema ID:
bricks://controls/icon - Schema 版本:
2.3 - 类型:
object
属性
library(string)icon(string)svg(object)
Schema 定义
完整 JSON 定义
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "bricks://controls/icon",
"schemaVersion": "2.3",
"title": "Icon Control",
"description": "Icon settings",
"controlProperties": [
"type",
"label",
"group",
"hasRequired",
"tab",
"css",
"inline",
"placeholder"
],
"type": "object",
"properties": {
"library": {
"type": "string"
},
"icon": {
"type": "string"
},
"svg": {
"type": "object"
}
},
"titleZh": "图标控件",
"descriptionZh": "图标设置。"
}
补充说明
更多细节可参考 Bricks 官方 Academy 文档。