@antadesign/anta
    Preparing search index...

    Interface SelectSubmenu<V>Unreviewed

    A titled branch whose items live behind a flyout (like MenuItem submenu). Navigation only — the parent row opens the submenu and is never itself selectable. While a filter query is active the tree flattens and a submenu collapses into a group (its label becomes the heading). disabled cascades to descendants.

    interface SelectSubmenu<V extends OptionValue = string> {
        label: string;
        icon?: keyof IconShapes;
        submenu: SelectItem<V>[];
        disabled?: boolean;
    }

    Type Parameters

    Index
    label: string

    The parent row's label — and the group heading when filtering flattens it.

    icon?: keyof IconShapes

    Leading icon on the parent row.

    submenu: SelectItem<V>[]

    The submenu's items — options, or further groups / submenus.

    disabled?: boolean

    Disable the whole branch (cascades to all descendants).