react-router-menu
React Router binding for Ant.Design's Menu.
Install
$ yarn add react-router-menu
Basic
// Declare the routes // Create a ReactRouterMenu // Render the routerrender , mountNode
<ReactRouterMenu />
This component is same as Ant Design's
routes
routes
that pass to Router
has the same property as PlainRoute
, except these listed property:
- title: string Title for Menu Item
Limitation
- Asynchronous
getComponent(s)
,getChildRoutes
,getIndexRoute
are not supported yet.
License
MIT License