UNPKG

647 BTypeScriptView Raw
1import { Component, CSSProperties } from "react";
2import { ColorPickerProps, ColorResult } from "../../..";
3import { Classes } from "reactcss";
4
5export interface CirclePickerStylesProps {
6 card: CSSProperties;
7}
8
9export interface CirclePickerProps extends ColorPickerProps<CirclePicker> {
10 colors?: string[] | undefined;
11 width?: string | undefined;
12 circleSize?: number | undefined;
13 circleSpacing?: number | undefined;
14 styles?: Partial<Classes<CirclePickerStylesProps>> | undefined;
15 onSwatchHover?(color: ColorResult, event: MouseEvent): void;
16}
17
18export default class CirclePicker extends Component<CirclePickerProps> { }