Interface ColorPanelProps

interface ColorPanelProps {
    children?: ReactNode;
    className?: string;
    color?: Instance;
    raised?: boolean;
    onColorUpdate?(color): void;
}

Properties

children?: ReactNode

optional child elements

className?: string

optional CSS class name

color?: Instance

color value

raised?: boolean

whether this panel looks raised or not

Methods

  • called when color gets updated

    Parameters

    • color: Instance

    Returns void

Generated using TypeDoc