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
40 lines (40 loc) · 940 Bytes
/
snippets.ts
File metadata and controls
40 lines (40 loc) · 940 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
38
39
40
module.exports = [
{
title: '面包屑',
screenshot:
'https://alifd.oss-cn-hangzhou.aliyuncs.com/fusion-cool/icons/icon-light/ic_light_breadcrumb.png',
schema: {
componentName: 'Breadcrumb',
props: {
maxNode: 100,
component: 'nav',
},
children: [
{
componentName: 'Breadcrumb.Item',
props: {
children: '一级',
primaryKey: 'breadcrumb-item-1',
target: '_self',
},
},
{
componentName: 'Breadcrumb.Item',
props: {
children: '二级',
primaryKey: 'breadcrumb-item-2',
target: '_self',
},
},
{
componentName: 'Breadcrumb.Item',
props: {
children: '三级',
primaryKey: 'breadcrumb-item-3',
target: '_self',
},
},
],
},
},
];