新增按钮组 snippet

This commit is contained in:
金禅 2020-07-21 13:17:56 +08:00
parent 84da70d9db
commit b1d5334397

View File

@ -12666,6 +12666,54 @@
}
]
},
{
"componentName": "Button.Group",
"title": "按钮组",
"icon": "",
"package": "@alife/next",
"library": "Next",
"snippets": [
{
"title": "按钮组",
"screenshot": "https://img.alicdn.com/tfs/TB1t6dhvV67gK0jSZPfXXahhFXa-310-122.png",
"schema": {
"componentName": "Button.Group",
"props": {
},
"children": [{
"componentName": "Button",
"props": {
"type": "primary",
"style": {
"margin": "0 5px 0 5px"
},
"htmlType": "submit"
},
"children": [
{
"componentName": "Icon",
"props": {
"type": "success"
}
},
"提交"
]
}, {
"componentName": "Button",
"props": {
"type": "normal",
"style": {
"margin": "0 5px 0 5px"
},
"htmlType": "reset"
},
"children": "重置"
}]
}
}
]
},
{
"componentName": "Divider",
"title": "分隔符",