@antadesign/anta
    Preparing search index...

    Interface SelectedGroup<V>Unreviewed

    A group with its descendants annotated and a rolled-up selectionState. Returned by optionsWithSelection.

    interface SelectedGroup<V extends OptionValue = string> {
        label: string;
        disabled?: boolean;
        options: SelectedItem<V>[];
        selectionState: SelectionState;
    }

    Type Parameters

    Hierarchy

    Index
    label: string

    The section heading (non-interactive).

    disabled?: boolean

    Disable the whole group (cascades to all descendants).

    options: SelectedItem<V>[]
    selectionState: SelectionState