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
55 lines (55 loc) · 1.04 KB
/
meta.ts
File metadata and controls
55 lines (55 loc) · 1.04 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
module.exports = {
group: '原子组件',
componentName: 'Menu.Item',
title: '菜单项',
docUrl: '',
screenshot: '',
npm: {
package: '@alifd/next',
version: '{{version}}',
exportName: 'Menu',
main: '',
destructuring: true,
subName: 'Item',
},
props: [
{
name: 'key',
propType: 'string',
description: '菜单项标识符',
},
{
name: 'disabled',
propType: 'bool',
description: '是否禁用',
defaultValue: false,
},
{
name: 'helper',
propType: 'node',
description: '帮助文本',
},
{
name: 'style',
propType: 'object',
},
],
configure: {
component: {
isContainer: true,
nestingRule: {
parentWhitelist: ['Menu', 'SubMenu', 'Menu.Group', 'MenuButton'],
},
},
},
experimental: {
callbacks: {
onHoverHook: () => false,
onMouseDownHook: () => false,
onClickHook: () => false,
onMove: () => false,
},
},
icon: '',
category: '信息输入',
};