1 | import { Component, CSSProperties } from "react";
|
2 | import { ColorChangeHandler, ColorPickerProps } from "../../..";
|
3 | import { Classes } from "reactcss";
|
4 |
|
5 | export interface PhotoshopPickerStylesProps {
|
6 | picker: CSSProperties;
|
7 | head: CSSProperties;
|
8 | body: CSSProperties;
|
9 | saturation: CSSProperties;
|
10 | hue: CSSProperties;
|
11 | controls: CSSProperties;
|
12 | top: CSSProperties;
|
13 | previews: CSSProperties;
|
14 | actions: CSSProperties;
|
15 | }
|
16 |
|
17 | export interface PhotoshopPickerProps extends ColorPickerProps<PhotoshopPicker> {
|
18 | header?: string | undefined;
|
19 | styles?: Partial<Classes<PhotoshopPickerStylesProps>> | undefined;
|
20 | onAccept?: ColorChangeHandler | undefined;
|
21 | onCancel?: ColorChangeHandler | undefined;
|
22 | }
|
23 |
|
24 | export default class PhotoshopPicker extends Component<PhotoshopPickerProps> { }
|