feat: 🎸 Button update

Button props update
This commit is contained in:
peipei.xpp 2020-08-05 16:59:14 +08:00
parent ef559a12a0
commit 7969273935

View File

@ -1408,15 +1408,6 @@
"subName": ""
},
"props": [
{
"name": "prefix",
"propType": "string",
"defaultValue": "next-"
},
{
"name": "rtl",
"propType": "bool"
},
{
"name": "children",
"title": "内容",
@ -1469,34 +1460,6 @@
"defaultValue": "small",
"description": "按钮中 Icon 的尺寸,用于替代 Icon 的默认大小"
},
{
"name": "htmlType",
"title": "htmlType",
"propType": {
"type": "oneOf",
"value": [
"submit",
"reset",
"button"
]
},
"description": "当 component = 'button' 时,设置 button 标签的 type 值",
"defaultValue": "button"
},
{
"name": "component",
"propType": {
"type": "oneOf",
"value": [
"button",
"a",
"div",
"span"
]
},
"description": "设置标签类型",
"defaultValue": "button"
},
{
"name": "loading",
"title": "是否 loading",