forked from alibaba/lowcode-materials
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsnippets.ts
More file actions
37 lines (37 loc) · 790 Bytes
/
snippets.ts
File metadata and controls
37 lines (37 loc) · 790 Bytes
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
module.exports = [
{
title: '复选按钮',
screenshot:
'https://alifd.oss-cn-hangzhou.aliyuncs.com/fusion-cool/icons/icon-light/ic_light_menu.png',
schema: {
componentName: 'Checkbox',
props: {
label: 'Check Option',
},
},
},
{
title: '复选按钮组',
screenshot: 'https://img.alicdn.com/tfs/TB1EJN7uYY1gK0jSZTEXXXDQVXa-112-64.png',
schema: {
componentName: 'CheckboxGroup',
props: {
prefix: 'next-',
dataSource: [
{
label: '选项一',
value: '1',
},
{
label: '选项二',
value: '2',
},
{
label: '选项三',
value: '3',
},
],
},
},
},
];