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

    Interface SidebarTab

    Tab definition for the sidebar

    interface SidebarTab {
        badge?: number;
        badgeColor?:
            | "error"
            | "default"
            | "primary"
            | "secondary"
            | "success"
            | "info"
            | "warning";
        disabled?: boolean;
        hidden?: boolean;
        icon?: ReactNode;
        id: string;
        label: string;
        tooltip?: string;
    }
    Index

    Properties

    badge?: number

    Badge count to display (e.g., unread messages)

    badgeColor?:
        | "error"
        | "default"
        | "primary"
        | "secondary"
        | "success"
        | "info"
        | "warning"

    Badge color

    disabled?: boolean

    Whether this tab is disabled

    hidden?: boolean

    Whether this tab should be hidden

    icon?: ReactNode

    Icon to display (MUI icon or custom ReactNode)

    id: string

    Unique identifier for the tab

    label: string

    Display label for the tab

    tooltip?: string

    Tooltip text for the tab