feat: upgrade rc-menu (#8235)

This commit is contained in:
Benjy Cui 2017-11-19 20:33:34 -06:00 committed by Wei Zhu
parent 5e0dd59e5c
commit 09fd564af9
3 changed files with 3 additions and 1 deletions

View File

@ -46,6 +46,7 @@ More layouts with navigation: [layout](/components/layout).
| onSelect | callback executed when a menu item is selected | function({ item, key, selectedKeys }) | none |
| subMenuOpenDelay | delay time to show submenu when mouse enter, unit: second | number | 0 |
| subMenuCloseDelay | delay time to hide submenu when mouse leave, unit: second | number | 0.1 |
| forceSubMenuRender | render submenu into DOM before it shows | boolean | false |
> More options in [rc-menu](https://github.com/react-component/menu#api)

View File

@ -46,6 +46,7 @@ subtitle: 导航菜单
| onSelect | 被选中时调用 | function({ item, key, selectedKeys }) | 无   |
| subMenuOpenDelay | 用户鼠标进入子菜单后开启延时,单位:秒 | number | 0 |
| subMenuCloseDelay | 用户鼠标离开子菜单后关闭延时,单位:秒 | number | 0.1 |
| forceSubMenuRender | 在子菜单展示之前就渲染进 DOM | boolean | false |
> More options in [rc-menu](https://github.com/react-component/menu#api)

View File

@ -59,7 +59,7 @@
"rc-editor-mention": "^1.0.2",
"rc-form": "~2.0.0",
"rc-input-number": "~4.0.0",
"rc-menu": "~6.1.0",
"rc-menu": "~6.2.0",
"rc-notification": "~3.0.0",
"rc-pagination": "~1.12.4",
"rc-progress": "~2.2.2",