1 | import { Component, CSSProperties } from "react";
|
2 | import { ColorPickerProps, ColorResult } from "../../..";
|
3 | import { Classes } from "reactcss";
|
4 |
|
5 | export interface SwatchesPickerStylesProps {
|
6 | picker: CSSProperties;
|
7 | overflow: CSSProperties;
|
8 | body: CSSProperties;
|
9 | clear: CSSProperties;
|
10 | }
|
11 |
|
12 | export interface SwatchesPickerProps extends ColorPickerProps<SwatchesPicker> {
|
13 | colors?: string[][] | undefined;
|
14 | height?: number | undefined;
|
15 | width?: number | undefined;
|
16 | styles?: Partial<Classes<SwatchesPickerStylesProps>> | undefined;
|
17 | onSwatchHover?(color: ColorResult, event: MouseEvent): void;
|
18 | }
|
19 |
|
20 | export default class SwatchesPicker extends Component<SwatchesPickerProps> { }
|