fix: typo in example code (#28469)

This commit is contained in:
Sidemen19 2020-12-22 17:10:34 +11:00 committed by GitHub
parent 263d8ec8e8
commit f600026fde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ const onClick = ({ key }) => {
const menu = ( const menu = (
<Menu onClick={onClick}> <Menu onClick={onClick}>
<Menu.Item key="1">1st menu item</Menu.Item> <Menu.Item key="1">1st menu item</Menu.Item>
<Menu.Item key="2">2nd memu item</Menu.Item> <Menu.Item key="2">2nd menu item</Menu.Item>
<Menu.Item key="3">3rd menu item</Menu.Item> <Menu.Item key="3">3rd menu item</Menu.Item>
</Menu> </Menu>
); );