@antadesign/anta
    Preparing search index...

    Interface SelectGroup<V>Unreviewed

    A titled group of options rendered inline under a heading (like MenuGroup). Selection stays global — a group only organizes; its heading isn't selectable. disabled cascades to every descendant. Nest groups / submenus freely.

    interface SelectGroup<V extends OptionValue = string> {
        label: string;
        options: SelectItem<V>[];
        disabled?: boolean;
    }

    Type Parameters

    Index
    label: string

    The section heading (non-interactive).

    options: SelectItem<V>[]

    The grouped items — options, or further groups / submenus.

    disabled?: boolean

    Disable the whole group (cascades to all descendants).