SHARE
TWEET

Untitled

a guest Aug 19th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import React, { Component,Fragment } from "react";
  2. import { MenuLinks } from "../../../routes";
  3.  
  4.  
  5. export default class Header extends Component {
  6.   render() {
  7.     return (
  8.       <Fragment>
  9.       {MenuLinks.map((menu, index) => (
  10.            <Link to={menu.url}>{menu.menuText}</Link>
  11.        ))}
  12.       </Fragment>
  13.     );
  14.   }
  15. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top