mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 19:19:57 +08:00
Fix(Documentation): Fix Menu documentation
This commit is contained in:
parent
eeeafef4bb
commit
cfccd84f62
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user