1.0.1 • Published 1 year ago
@xsherryhe/progressive-mobile-menu v1.0.1
This repository holds a custom npm package for creating a menu bar that progressively reveals menu items. This type of menu is suitable for a mobile layout;
To install this package:
npm install @xsherryhe/progressive-mobile-menu
To use this package:
1) Use the dropDownMenu function by adding the following line at the top level of your code:
import progressiveMobileMenu from '@xsherryhe/progressive-mobile-menu';
2) Include the drop-down-menu.css stylesheet in your project. This is the file path from the root directory:
node_modules/@xsherryhe/progressive-mobile-menu/progressive-mobile-menu.css