Fix(Documentation): Fix Menu documentation

This commit is contained in:
Nico 2017-06-15 18:08:01 +02:00
parent eeeafef4bb
commit cfccd84f62
2 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ More layout and samples: [layout](/docs/spec/layout).
| key | unique id of the menu item | string | |
| title | title of the sub menu | string\|ReactNode | |
| children | sub menus or sub menu items | Array<MenuItem\|SubMenu> | |
| onTitleClick | callback of the clicked sub menu title | Function({ eventKey, domEvent }) | |
| onTitleClick | callback of the clicked sub menu title | Function({ key, domEvent }) | |
### Menu.ItemGroup props

View File

@ -60,7 +60,7 @@ subtitle: 导航菜单
| key | 唯一标志 | string | |
| title | 子菜单项值 | string\|ReactNode | |
| children | 子菜单的菜单项 | Array<MenuItem\|SubMenu> | |
| onTitleClick | 点击子菜单标题 | Function({ eventKey, domEvent }) | |
| onTitleClick | 点击子菜单标题 | Function({ key, domEvent }) | |
### Menu.ItemGroup props