daily pastebin goal
66%
SHARE
TWEET

Untitled

a guest Feb 17th, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Wrapper components for passing properties to components in <Route>
  2.  
  3. `<RouteWithProps>` -- renders a <Route> component, passing properties to the target component
  4.  
  5. `<AuthRoute>` -- only renders the route if the auth parameter is true
  6.  
  7. `<AuthRouteWithProps>` -- renders a <Route> component, passing properties to the target component, only is the auth parameter is true
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top