@dxos/react-ui
    Preparing search index...
    TriggerProps: ThemedClassName<Omit<SelectPrimitive.TriggerProps, "children">> & {
        fixed?: boolean;
        icon?: string;
        loading?: boolean;
        placeholder?: string;
        tag?: boolean;
    }

    Type declaration

    • Optionalfixed?: boolean

      By default the trigger stretches across its cell. fixed sizes it to the widest option's icon and label (or the placeholder, if wider), so choosing a different option never changes its width: the labels are laid out, hidden, in the value's cell, which CSS sizes without measuring.

    • Optionalicon?: string

      Shown where the chosen option has no icon, or nothing is chosen: the field's own glyph.

    • Optionalloading?: boolean

      Options are still arriving (an async lookup): a spinner replaces the caret and the trigger is aria-busy.

    • Optionalplaceholder?: string
    • Optionaltag?: boolean

      Renders the trigger as a Tag holding the chosen option's icon and label, with no caret (a row of field values), filled in the option's iconHue when it has one.