source:
reactapp/src/App.js@
4a64cf0
Last change on this file since 4a64cf0 was 7cb8c3c, checked in by , 2 years ago | |
---|---|
|
|
File size: 354 bytes |
Line | |
---|---|
1 | import { Outlet, Link, useParams } from "react-router-dom"; |
2 | |
3 | export default function App() { |
4 | return ( |
5 | <div> |
6 | <h1>Main App Page</h1> |
7 | <nav |
8 | style={{ |
9 | borderBottom: "solid 1px", |
10 | paddingBottom: "1rem", |
11 | }} |
12 | > |
13 | <Link to="/professor">Professor</Link> |
14 | </nav> |
15 | <Outlet /> |
16 | </div> |
17 | ); |
18 | } |
Note:
See TracBrowser
for help on using the repository browser.