20261007220117
This commit is contained in:
1 parent
9217b3fa42
commit
8b1ec67609
275 files changed
+20026
-49299
No files matched your search
@@ -0,0 +1,66 @@
|
||||
{
|
||||
"displayName": "Button",
|
||||
"description": "常用的操作按钮。 支持 7 种视觉类型、3 种尺寸,以及加载、禁用、撑满、纯图标等状态。",
|
||||
"props": [
|
||||
{
|
||||
"name": "type",
|
||||
"description": "视觉类型",
|
||||
"type": "ButtonType",
|
||||
"defaultValue": "default"
|
||||
},
|
||||
{
|
||||
"name": "size",
|
||||
"description": "尺寸",
|
||||
"type": "ButtonSize",
|
||||
"defaultValue": "medium"
|
||||
},
|
||||
{
|
||||
"name": "htmlType",
|
||||
"description": "原生 button 的 type 属性",
|
||||
"type": "union",
|
||||
"defaultValue": "button"
|
||||
},
|
||||
{
|
||||
"name": "disabled",
|
||||
"description": "是否禁用",
|
||||
"type": "boolean",
|
||||
"defaultValue": "false"
|
||||
},
|
||||
{
|
||||
"name": "loading",
|
||||
"description": "是否加载中:同时禁止点击并展示加载图标",
|
||||
"type": "boolean",
|
||||
"defaultValue": "false"
|
||||
},
|
||||
{
|
||||
"name": "block",
|
||||
"description": "是否撑满父容器宽度",
|
||||
"type": "boolean",
|
||||
"defaultValue": "false"
|
||||
},
|
||||
{
|
||||
"name": "iconOnly",
|
||||
"description": "是否仅图标:渲染为正方形按钮",
|
||||
"type": "boolean",
|
||||
"defaultValue": "false"
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"name": "click",
|
||||
"description": "",
|
||||
"type": "",
|
||||
"defaultValue": ""
|
||||
}
|
||||
],
|
||||
"slots": [
|
||||
{
|
||||
"name": "icon",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"name": "default",
|
||||
"description": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user