mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 13:09:40 +08:00
docs: Add dropdown menu missing keys
This commit is contained in:
parent
3e6817a10a
commit
15599bb3b8
@ -27,32 +27,40 @@ const menu = (
|
||||
label: 'Group title',
|
||||
children: [
|
||||
{
|
||||
key: '1',
|
||||
label: '1st menu item',
|
||||
},
|
||||
{
|
||||
key: '2',
|
||||
label: '2nd menu item',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
key: 'sub',
|
||||
label: 'sub menu',
|
||||
children: [
|
||||
{
|
||||
key: '3',
|
||||
label: '3rd menu item',
|
||||
},
|
||||
{
|
||||
key: '4',
|
||||
label: '4th menu item',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
label: 'disabled sub menu',
|
||||
key: 'disabled',
|
||||
disabled: true,
|
||||
children: [
|
||||
{
|
||||
key: '5',
|
||||
label: '5d menu item',
|
||||
},
|
||||
{
|
||||
key: '6',
|
||||
label: '6th menu item',
|
||||
},
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user