docs: fix typo of Menu items code example (#35832)

This commit is contained in:
MrHadEnough 2022-05-31 16:05:53 +03:00 committed by GitHub
parent b46e839a5f
commit cfd25f9650
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@ const items = [
{ label: 'item 2', key: 'item-2' }, // which is required
{
label: 'sub menu',
key: 'submenu'
key: 'submenu',
children: [{ label: 'item 3', key: 'submenu-item-1' }],
},
];