{
  "icon": "",
  "name": {
    "zh_CN": "Button"
  },
  "component": "tiny-button",
  "schema": {
    "properties": [
      {
        "label": {
          "zh_CN": "基础信息"
        },
        "description": {
          "zh_CN": "基础信息"
        },
        "collapse": {
          "number": 6,
          "text": {
            "zh_CN": "显示更多"
          }
        },
        "content": [
          {
            "property": "condition",
            "type": "boolean",
            "defaultValue": true,
            "label": {
              "text": {
                "zh_CN": "是否渲染"
              }
            },
            "cols": 12,
            "rules": [],
            "hidden": false,
            "required": true,
            "readOnly": false,
            "disabled": false,
            "widget": {
              "component": "MetaSwitch",
              "props": {}
            }
          },
          {
            "property": "text",
            "type": "object",
            "defaultValue": {
              "type": "i18n",
              "zh_CN": "按钮文案",
              "en_US": "Tiny Button",
              "key": ""
            },
            "label": {
              "text": {
                "zh_CN": "按钮文字"
              }
            },
            "cols": 12,
            "rules": [],
            "hidden": false,
            "required": true,
            "readOnly": false,
            "disabled": false,
            "widget": {
              "component": "MetaInput",
              "props": {}
            }
          },
          {
            "property": "color",
            "type": "select",
            "defaultValue": "",
            "label": {
              "text": {
                "zh_CN": "按钮颜色"
              }
            },
            "cols": 12,
            "rules": [],
            "hidden": false,
            "required": true,
            "readOnly": false,
            "disabled": false,
            "widget": {
              "component": "select",
              "props": {
                "options": ["", "danger", "primary"]
              }
            }
          },
          {
            "property": "size",
            "type": "select",
            "defaultValue": "large",
            "label": {
              "text": {
                "zh_CN": "大小"
              }
            },
            "cols": 12,
            "rules": [],
            "hidden": false,
            "required": true,
            "readOnly": false,
            "disabled": false,
            "widget": {
              "component": "select",
              "props": {
                "options": ["large", "middle", "small", "xs"]
              }
            }
          }
        ]
      }
    ],
    "events": {
      "onClick": {
        "label": {
          "zh_CN": "onClick"
        },
        "description": {
          "zh_CN": "详细的描述文字，会在鼠标放入？时显示"
        },
        "type": "event",
        "functionInfo": {
          "params": [],
          "returns": {}
        },
        "defaultValue": "function onClick(e) {}"
      }
    },
    "shortcuts": {
      "properties": []
    },
    "contentMenu": {
      "actions": []
    }
  }
}
