Sidemenu
The SideMenu is a component for displaying a vertical menu with a collapsible menu.
Last updated
The SideMenu is a component for displaying a vertical menu with a collapsible menu.
Last updated
navList
-> Accepts an array, where each element is an object of the structure:
NOTE: Keep the name of the keys same as above.
logoName
-> Accepts a string/node value, used inside sidemenu as heading.
id
-> The id prop is similar to the id attribute in HTML. It allows to provide overall component id.
userNavbarStyle
-> Accepts the class name(s) as string, custom styling prop for the full sidemenu container.
userNavToggleStyle
-> Accepts the class name(s) as string, custom styling prop for container for toggling sidemenu checkbox.
userNavHeaderStyle
-> Accepts the class name(s) as string, custom styling prop for container containing title and arrow.
userNavTitleStyle
-> Accepts the class name(s) as string, custom styling prop for the logo name.
userNavContentStyle
-> Accepts the class name(s) as string, custom styling prop for the container containing the sidemenu item list.
userNavButtonStyle
-> Accepts class name(s) as string, custom styling prop for the container containing each sidemenu item.
This is the code for the Popup component.