1.0.3 • Published 3 years ago
react-router-dom-handler v1.0.3
React Router Dom Handler
Controller for React Router Dom to create easy nested routes in different apps
Installation
npm
npm install react-router-dom-handler
yarn
yarn add react-router-dom-handler
Usage
Read the blog about how to use it here
Props
Prop | Type | Default Value | Options | Description |
---|---|---|---|---|
routes | json list | [] | The routes that should be rendered as Route component or as Redirect component inside a Switch component. |
Any other prop passed to the
RouterDomHandler
component will be Switch props.