Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // App.js
- import Navbar from './Navbar';
- const navlinks = [
- { name: "Home", to: "/" },
- { name: "About", to: "/about" },
- { name: "Contact", to: "/contact" }
- ];
- const brand = { name: "peekaboo", to: "home" };
- export default class App extends Component {
- render() {
- return (
- <div className="App">
- <Navbar brand={brand} links={navlinks} />
- </div>
- );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement