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
97 lines (97 loc) · 2.33 KB
/
meta.ts
File metadata and controls
97 lines (97 loc) · 2.33 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
module.exports = {
group: '原子组件',
componentName: 'Tag.Selectable',
title: '可选中标签',
docUrl: '',
screenshot: '',
npm: {
package: '@alifd/next',
version: '{{version}}',
exportName: 'Tag',
main: '',
destructuring: true,
subName: 'Selectable',
},
props: [
{
name: 'checked',
title: {
label: {
type: 'i18n',
zh_CN: '是否选中',
en_US: 'Checked',
},
tip: {
type: 'i18n',
zh_CN: '属性: checked | 说明: 标签是否被选中,受控用法',
en_US: 'prop: checked | description: tag checked',
},
},
propType: 'bool',
description: '标签是否被选中,受控用法',
},
{
name: 'defaultChecked',
title: {
label: {
type: 'i18n',
zh_CN: '默认选中',
en_US: 'Default Checked',
},
tip: {
type: 'i18n',
zh_CN: '属性: defaultChecked | 说明: 标签是否默认被选中,非受控用法',
en_US: 'prop: defaultChecked | description: tag default checked',
},
},
propType: 'bool',
description: '标签是否默认被选中,非受控用法',
},
{
name: 'disabled',
title: {
label: {
type: 'i18n',
zh_CN: '是否禁用',
en_US: 'Disabled',
},
tip: {
type: 'i18n',
zh_CN: '属性: disabled | 说明: 标签是否被禁用',
en_US: 'prop: disabled | description: tag disabled',
},
},
propType: 'bool',
description: '标签是否被禁用',
},
{
name: 'onChange',
propType: 'func',
description: '选中状态变化时触发的事件 Function(checked: Boolean, e: Event) => void',
},
{
name: 'children',
title: {
label: {
type: 'i18n',
zh_CN: '标签文本',
en_US: 'Content',
},
tip: {
type: 'i18n',
zh_CN: '属性: children | 说明: 标签文本内容',
en_US: 'prop: children | description: tag content',
},
},
propType: 'string',
description: '内容',
},
{
name: 'style',
propType: 'object',
},
],
configure: {},
icon: '',
category: '信息输入',
};