docs: Add dropdown menu missing keys

This commit is contained in:
zombiej 2022-04-21 19:01:26 +08:00
parent 3e6817a10a
commit 15599bb3b8

View File

@ -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',
},
],