1 | import { Component, CSSProperties } from "react";
|
2 | import { ColorPickerProps, ColorResult } from "../../..";
|
3 | import { Classes } from "reactcss";
|
4 |
|
5 | export interface BlockPickerStylesProps {
|
6 | card: CSSProperties;
|
7 | head: CSSProperties;
|
8 | body: CSSProperties;
|
9 | label: CSSProperties;
|
10 | triangle: CSSProperties;
|
11 | input: CSSProperties;
|
12 | }
|
13 |
|
14 | export interface BlockPickerProps extends ColorPickerProps<BlockPicker> {
|
15 | colors?: string[] | undefined;
|
16 | width?: string | undefined;
|
17 | triangle?: 'hide' | 'top' | undefined;
|
18 | styles?: Partial<Classes<BlockPickerStylesProps>> | undefined;
|
19 | onSwatchHover?(color: ColorResult, event: MouseEvent): void;
|
20 | }
|
21 |
|
22 | export default class BlockPicker extends Component<BlockPickerProps> { }
|