Skip to content

Instantly share code, notes, and snippets.

@stephencookdev
Last active July 16, 2018 15:23
Show Gist options
  • Save stephencookdev/cadede698ee3e4534b994208ff90aa0a to your computer and use it in GitHub Desktop.
Save stephencookdev/cadede698ee3e4534b994208ff90aa0a to your computer and use it in GitHub Desktop.
`SwitchWithSlide` example - vanilla
const App = () => (
<Switch>
<Route path="/a" component={PathA} />
<Route path="/b" component={PathB} />
</Switch>
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment