Trevixal API
    Preparing search index...

    Interface SelectControlOptions

    interface SelectControlOptions {
        ariaLabel: string;
        document: Document;
        onSelect: (value: string) => void;
        options: readonly SelectOption[];
        placeholder: string;
        valueOf: (snapshot: EditorSnapshot) => string | null;
        width?: string;
    }
    Index
    ariaLabel: string
    document: Document
    onSelect: (value: string) => void
    options: readonly SelectOption[]
    placeholder: string
    valueOf: (snapshot: EditorSnapshot) => string | null

    Current value from the snapshot; null shows the placeholder.

    width?: string

    Fixed trigger width, e.g. "7.5rem", so the toolbar does not reflow.