react-awesome-mega-menu
v1.0.3
Published
An awesome mega menu component
Downloads
40
Readme
| Attribute | Type | Default Values | Description | | --------------- | :----: | -------------: | ------------------------------------------------: | | nodeList | array | [] | Node List description | | width | string | "100%" | Width of the mega menu | | height | string | "100%" | Height of the Mega menu | | itemIdSeperator | string | "/" | Node identifier seperator | | onNodeClick | func | | Function to invoke when mega menu item is clicked |
import MegaMenu from "react-awesome-mega-menu";
<MegaMenu nodeList={nodeList} onNodeClick={val => console.log(val)} />
$ npm i react-awesome-mega-menu --save
This project is licensed under the ISC License