feat: 新增分隔符物料配置

This commit is contained in:
zude.hzd 2020-07-31 15:52:28 +08:00
parent 1dcb5ab4d1
commit af39c172ad

View File

@ -80,17 +80,47 @@
"subName": "" "subName": ""
}, },
"props": [ "props": [
{ {
"name": "root", "name": "children",
"propType": "object" "propType": "string",
"description": "子元素",
"defaultValue": "Test"
},
{
"name": "dashed",
"propType": {
"type": "bool"
},
"description": "是否为虚线",
"defaultValue": false
},
{
"name": "direction",
"propType": {
"type": "oneOf",
"value": [
"hoz",
"ver"
]
},
"description": "线是水平还是垂直类型",
"defaultValue": "hoz"
}, },
{ {
"name": "className", "name": "orientation",
"propType": "string" "propType": {
"type": "oneOf",
"value": [
"left",
"right",
"center"
]
}, },
{ "description": "分割线标题的位置",
"name": "style", "defaultValue": "center"
"propType": "object"
} }
] ]
}, },