Not Pictured: Mangoes

    nodely-metismenu

    1.4.4 • Public • Published

    NOTE: This project was forked from react-metismenu.

    nodely-metismenu

    A ready / simple to use, highly customizable, updateable, ajax supported, animated and material designed menu component for React

    All features from react-metismenu, including ability to provide item-based context actions.

    All information is available here.

    Install

    npm install --save nodely-metismenu

    Extended Usage

    With Ecma Script 6 and React Loaders

    import React from 'react';
    import ReactDOM from 'react-dom';
    import MetisMenu from 'react-metismenu';
     
    const buildContextActions = hasSubMenu => () => {
        if (hasSubMenu) {
          // build actions for sub menu root
          return [
            ...
          ]
        }
        // build actions for item
        return [
          ...
        ]
    };
     
    ReactDOM.render(<MetisMenu contextActions={buildContextActions}/>, document.getElementById('dom_id'));

    Install

    npm i nodely-metismenu

    DownloadsWeekly Downloads

    8

    Version

    1.4.4

    License

    MIT

    Unpacked Size

    611 kB

    Total Files

    39

    Last publish

    Collaborators

    • nodely