interface SideNavigationProps {
    backgroundColor?: "primary" | "tertiary";
    className?: string;
    isShrinkable?: boolean;
    isShrunk?: boolean;
    items: ReactNode[];
    onShrinkToggle?: (() => void);
}

Properties

backgroundColor?: "primary" | "tertiary"

Background color of sidebar

className?: string

Custom class to give the html component

isShrinkable?: boolean

Is sidebar shrinkable

isShrunk?: boolean

Sidebar shrunk

items: ReactNode[]

Elements of sidebar

onShrinkToggle?: (() => void)

Function to toggle sidebar

Type declaration

    • (): void
    • Function to toggle sidebar

      Returns void

Generated using TypeDoc