@fplan/menu
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

How to use the @fplan/menu package

  1. Install the package using pnpm add @fplan/menu
  2. These atoms can be filled with the following contents:
    • menuBannerAtom - company logo
    • menuContentAtom - menu items
    • menuTitleAtom — menu title

Notes

The Menu component from @fplan/components is already registered as a layout component in the package @fplan/search. This means that the menu is already available in your application if you use the @fplan/search package.

The menuContentAtom atom has a default value, but it can be changed (replaced or added).

Additionally, you can use the menuOpenAtom to open/close the menu, it already works by default.

Readme

Keywords

none

Package Sidebar

Install

npm i @fplan/menu

Weekly Downloads

4

Version

1.0.1

License

MIT

Unpacked Size

139 kB

Total Files

19

Last publish

Collaborators

  • 1evgenyt