1.0.3 • Published 5 years ago
react-awesome-mega-menu v1.0.3
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