Interface AdjustedColorButtonProps

interface AdjustedColorButtonProps {
    colorDef: AdjustedColorDefWithLabel;
    compareRGB?: boolean;
    darkMode?: boolean;
    isLarge?: boolean;
    onPreviewColorDef?: ((colorDef) => void);
    onSelectColorDef?: ((colorDef) => void);
    previewColor?: AdjustedColor;
    schemeColorLookup: SchemeColorLookup;
    selectedColor: AdjustedColor;
    swatchProps?: Partial<SwatchProps>;
}

Hierarchy

  • HTMLAttributes<HTMLElement>
    • AdjustedColorButtonProps

Properties

compareRGB?: boolean
darkMode?: boolean
isLarge?: boolean
onPreviewColorDef?: ((colorDef) => void)

Type declaration

onSelectColorDef?: ((colorDef) => void)

Type declaration

previewColor?: AdjustedColor
schemeColorLookup: SchemeColorLookup
selectedColor: AdjustedColor
swatchProps?: Partial<SwatchProps>