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
107 lines (107 loc) · 2.14 KB
/
meta.ts
File metadata and controls
107 lines (107 loc) · 2.14 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
module.exports = {
group: '原子组件',
componentName: 'Card',
title: '卡片',
docUrl: '',
screenshot: '',
npm: {
package: '@alifd/next',
version: '{{version}}',
exportName: 'Card',
main: '',
destructuring: true,
subName: '',
},
props: [
{
name: 'id',
propType: 'string',
},
{
name: 'showTitleBullet',
title: '标题符号',
propType: 'bool',
description: '标题的项目符号',
defaultValue: true,
},
{
name: 'showHeadDivider',
title: '分割线',
propType: 'bool',
description: '头部分隔线',
defaultValue: true,
},
{
name: 'title',
propType: {
type: 'oneOfType',
value: ['node', 'string'],
},
description: '标题',
},
{
name: 'subTitle',
propType: {
type: 'oneOfType',
value: ['node', 'string'],
},
description: '副标题',
},
{
name: 'extra',
title: {
label: '自定义内容',
tip: '标题栏用户自定义内容',
},
propType: {
type: 'oneOfType',
value: ['node', 'string'],
},
description: '标题栏用户自定义内容',
},
{
name: 'contentHeight',
title: '内容高度',
propType: {
type: 'oneOfType',
value: ['string', 'number'],
},
description: '内容区域的固定高度',
defaultValue: 120,
},
{
name: 'className',
propType: 'string',
},
{
name: 'style',
propType: 'object',
},
{
name: 'rtl',
propType: 'bool',
description: '文本方向是从右向左',
},
],
configure: {
component: {
isContainer: true,
},
props: {
isExtends: true,
override: [
{
name: 'id',
condition: () => false,
},
{
name: 'rtl',
condition: () => false,
},
],
},
},
icon: 'https://alifd.oss-cn-hangzhou.aliyuncs.com/fusion-cool/icons/icon-light/ic_light_card.png',
category: '信息输入',
snippets: require('./snippets'),
};