UNPKG

791 BTypeScriptView Raw
1import { Component, CSSProperties } from "react";
2import { ColorPickerProps } from "../../..";
3import { Classes } from "reactcss";
4
5export interface ChromePickerStylesProps {
6 picker: CSSProperties;
7 saturation: CSSProperties;
8 Saturation: CSSProperties;
9 body: CSSProperties;
10 controls: CSSProperties;
11 color: CSSProperties;
12 swatch: CSSProperties;
13 active: CSSProperties;
14 toggles: CSSProperties;
15 hue: CSSProperties;
16 Hue: CSSProperties;
17 alpha: CSSProperties;
18 Alpha: CSSProperties;
19}
20
21export interface ChromePickerProps extends ColorPickerProps<ChromePicker> {
22 disableAlpha?: boolean | undefined;
23 styles?: Partial<Classes<ChromePickerStylesProps>> | undefined;
24}
25
26export default class ChromePicker extends Component<ChromePickerProps> { }