Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const SwitchWithSlide = animateSwitch(Switch, SlideOut);
- const App = () => (
- <SwitchWithSlide>
- <Route path="/a" component={PathA} />
- <Route path="/b" component={PathB} />
- </SwitchWithSlide>
- );
Add Comment
Please, Sign In to add comment