Hiyve Components - v1.0.0
    Preparing search index...

    Interface CollapsedSidebarProps

    Props for CollapsedSidebar (minimized state)

    interface CollapsedSidebarProps {
        activeTab: string;
        colors?: Partial<SidebarColors>;
        icons?: Partial<SidebarIcons>;
        labels?: Partial<SidebarLabels>;
        onExpand: () => void;
        onTabClick: (tabId: string) => void;
        position?: SidebarPosition;
        sx?: SxProps<Theme>;
        tabs: SidebarTab[];
    }
    Index

    Properties

    activeTab: string

    Currently active tab ID

    colors?: Partial<SidebarColors>

    Custom colors

    icons?: Partial<SidebarIcons>

    Custom icons

    labels?: Partial<SidebarLabels>

    Custom labels

    onExpand: () => void

    Callback to expand the sidebar

    onTabClick: (tabId: string) => void

    Callback when a tab is clicked

    position?: SidebarPosition

    Position of the sidebar

    sx?: SxProps<Theme>

    MUI sx prop

    tabs: SidebarTab[]

    Array of tab definitions