@gseller-monorepo/sidebar
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

Gseller Sidebar

Gseller Sidebar is a package designed within the monorepo framework, offering a set of mini-components for integration into the Gseller core.

Instalations

  yarn add gseller-sidebar
  or
  npm install gseller-sidebar

Usage

- Make sure to include the SidebarProvider in your layout.tsx.
- The component requires three props: "onLogout," "sidebarOptions," and "src." These props, in order, serve the following purposes:
    onLogout: a function to handle user logout from the system.
    sidebarOptions: a list of options for your sidebar.
    src: an image to be displayed at the top level of your sidebar.

Package Sidebar

Install

npm i @gseller-monorepo/sidebar

Weekly Downloads

0

Version

0.0.4

License

ISC

Unpacked Size

79.8 kB

Total Files

9

Last publish

Collaborators

  • mateusp7
  • lilia-paula
  • diegopicoli