Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Wrapper components for passing properties to components in <Route>
- `<RouteWithProps>` -- renders a <Route> component, passing properties to the target component
- `<AuthRoute>` -- only renders the route if the auth parameter is true
- `<AuthRouteWithProps>` -- renders a <Route> component, passing properties to the target component, only is the auth parameter is true
Add Comment
Please, Sign In to add comment