Advertisement
Guest User

rootlayout.jsx

a guest
Apr 3rd, 2024
6
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. import { Link, Outlet } from "react-router-dom";
  2.  
  3. function RootLayout() {
  4. return (
  5. <>
  6. <Link to="/">Homepage</Link> | <Link to="/about">About</Link>
  7. </>
  8. );
  9. }
  10.  
  11. export default RootLayout;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement