0.0.4 • Published 1 year ago

@gseller-monorepo/sidebar v0.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

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.