@antadesign/anta
    Preparing search index...

    Interface OptionState<V>Unreviewed

    Per-row snapshot passed to renderOption / renderIndicator. Everything here is known at render time; the combobox "active" cursor is deliberately absent (it's a live element state the DOM owns, not a render-time value).

    interface OptionState<V extends OptionValue = string> {
        value: V;
        selected: boolean;
        disabled: boolean;
    }

    Type Parameters

    Index
    value: V

    The option's value.

    selected: boolean

    Whether this row is currently selected.

    disabled: boolean

    Whether this row is disabled.