1 | import { Component, CSSProperties } from "react";
|
2 | import { ColorPickerProps, ColorResult } from "../../..";
|
3 | import { Classes } from "reactcss";
|
4 |
|
5 | export interface CompactPickerStylesProps {
|
6 | Compact: CSSProperties;
|
7 | compact: CSSProperties;
|
8 | clear: CSSProperties;
|
9 | }
|
10 |
|
11 | export interface CompactPickerProps extends ColorPickerProps<CompactPicker> {
|
12 | colors?: string[] | undefined;
|
13 | styles?: Partial<Classes<CompactPickerStylesProps>> | undefined;
|
14 | onSwatchHover?(color: ColorResult, event: MouseEvent): void;
|
15 | }
|
16 |
|
17 | export default class CompactPicker extends Component<CompactPickerProps> { }
|