mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 11:10:01 +08:00
parent
c897728eb8
commit
36ded1a741
@ -138,7 +138,7 @@ Define `type` as `group` to make as group:
|
||||
const groupItem = {
|
||||
type: 'group', // Must have
|
||||
label: 'My Group',
|
||||
chidlren: [],
|
||||
children: [],
|
||||
};
|
||||
```
|
||||
|
||||
|
@ -138,7 +138,7 @@ return <Menu items={items} />;
|
||||
const groupItem = {
|
||||
type: 'group', // Must have
|
||||
label: 'My Group',
|
||||
chidlren: [],
|
||||
children: [],
|
||||
};
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user