This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

react-menu-manager
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

react-menu-manager

Install from the command line:

instead of 1.2.3 you should use your own version
npm install react-menu-manager

some times you need to pass '--legacy-peer-deps'

Install via package.json:

instead of 1.2.3 you should use your own version
"react-menu-manager": "1.2.3",

Use Example

import React, {useState} from 'react';
import MenuManager from 'react-menu-manager';

Props

Prop name Type Required?
menu_items menu_item_model[] true
set_menu_items function true

menu_item_model model

interface menu_item_model {
  id: string;
  parent_id: string | null;
  title: string;
  [key: string]: any;
}

Package Sidebar

Install

npm i react-menu-manager

Weekly Downloads

9

Version

0.0.1

License

MIT

Unpacked Size

5.34 kB

Total Files

8

Last publish

Collaborators

  • aliafzali