Skip to main content

GeneralSidebarProps

Props for the GeneralSidebar component.

Properties

itemPaddingY?

optional itemPaddingY: number;

Padding for the sidebar items


items

items: {
icon?: ReactNode;
sx?: object;
text: string;
}[];

List of items to display in the sidebar

icon?

optional icon: ReactNode;

sx?

optional sx: object;

text

text: string;

title

title: string;

Title of the sidebar


width?

optional width: number;

Width of the sidebar