Created
November 12, 2018 19:18
-
-
Save amcdnl/1176ac762ffd9f3de1243092dd46b8a6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Router> | |
<div> | |
<ul> | |
<li> | |
<Link to="/">Home</Link> | |
</li> | |
<li> | |
<Link to="/about">About</Link> | |
</li> | |
<li> | |
<Link to="/topics">Topics</Link> | |
</li> | |
</ul> | |
<hr /> | |
<Route exact path="/" component={Home} /> | |
<Route path="/about" component={About} /> | |
<Route path="/topics" component={Topics} /> | |
</div> | |
</Router> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment