forked from alibaba/lowcode-materials
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmeta.ts
More file actions
89 lines (89 loc) · 1.73 KB
/
meta.ts
File metadata and controls
89 lines (89 loc) · 1.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
module.exports = {
group: '原子组件',
componentName: 'Collapse',
title: '折叠面板',
docUrl: '',
screenshot: '',
npm: {
package: '@alifd/next',
version: '{{version}}',
exportName: 'Collapse',
main: '',
destructuring: true,
subName: '',
},
props: [
{
name: 'dataSource',
propType: 'array',
description: '使用数据模型构建',
},
{
name: 'defaultExpandedKeys',
propType: {
type: 'arrayOf',
value: 'string',
},
description: '默认展开keys',
},
{
name: 'expandedKeys',
propType: {
type: 'arrayOf',
value: 'string',
},
description: '受控展开keys',
},
{
name: 'onExpand',
propType: 'func',
description: '展开状态发升变化时候的回调',
},
{
name: 'disabled',
propType: 'bool',
description: '所有禁用',
},
{
name: 'className',
propType: 'string',
description: '扩展class',
},
{
name: 'style',
propType: 'object',
description: '组件接受行内样式',
},
{
name: 'accordion',
propType: 'bool',
description: '手风琴模式,一次只能打开一个',
defaultValue: false,
},
{
name: 'rtl',
propType: 'bool',
},
],
configure: {
component: {
isContainer: true,
},
props: {
isExtends: true,
override: [
{
name: 'dataSource',
setter: {
componentName: 'MixedSetter',
props: {
setters: ['JsonSetter', 'ExpressionSetter'],
},
},
},
],
},
},
icon: '',
category: '信息输入',
};