react-menu-component

This is a basic react menu

Usage no npm install needed!

<script type="module">
  import reactMenuComponent from 'https://cdn.skypack.dev/react-menu-component';
</script>

README

README

Must have a React project already set up

Must have React && React Router

Installation

npm install react-menu-component

In File:

import Menu from 'react-menu-component';

To Use:
var arrayOfMenuNames = ['home', 'etc..'];
<Menu menuList={arrayOfMenuNames} />


Enjoy!