replace-react-color API - v4.1.2
    Preparing search index...

    Interface SwatchProps

    interface SwatchProps {
        children?: ReactNode;
        color: string;
        focus?: boolean;
        focusStyle?: CSSProperties;
        onClick?: (
            color: string,
            e: MouseEvent<Element, MouseEvent> | KeyboardEvent<Element>,
        ) => void;
        onHover?: (color: string, e: MouseEvent) => void;
        style?: CSSProperties;
        title?: string;
    }
    Index

    Properties

    children?: ReactNode
    color: string
    focus?: boolean
    focusStyle?: CSSProperties
    onClick?: (
        color: string,
        e: MouseEvent<Element, MouseEvent> | KeyboardEvent<Element>,
    ) => void
    onHover?: (color: string, e: MouseEvent) => void
    style?: CSSProperties
    title?: string