Trevixal API
    Preparing search index...

    Interface ColorControlOptions

    interface ColorControlOptions {
        ariaLabel: string;
        document: Document;
        icon: "textColor" | "backgroundColor";
        onClear: () => void;
        onSelect: (color: string) => void;
        swatches?: readonly string[];
        valueOf: (snapshot: EditorSnapshot) => string | null;
    }
    Index
    ariaLabel: string
    document: Document
    icon: "textColor" | "backgroundColor"
    onClear: () => void
    onSelect: (color: string) => void
    swatches?: readonly string[]
    valueOf: (snapshot: EditorSnapshot) => string | null

    Current color, drawn as the underline beneath the icon.