1 | import { Component, CSSProperties } from "react";
|
2 | import { ColorPickerProps, ColorResult } from "../../..";
|
3 | import { Classes } from "reactcss";
|
4 |
|
5 | export interface GithubPickerStylesProps {
|
6 | card: CSSProperties;
|
7 | triangle: CSSProperties;
|
8 | triangleShadow: CSSProperties;
|
9 | }
|
10 |
|
11 | export interface GithubPickerProps extends ColorPickerProps<GithubPicker> {
|
12 | colors?: string[];
|
13 | width?: string;
|
14 | triangle?: 'hide' | 'top-left' | 'top-right';
|
15 | styles?: Partial<Classes<GithubPickerStylesProps>>;
|
16 | onSwatchHover?(color: ColorResult, event: MouseEvent): void;
|
17 | }
|
18 |
|
19 | export default class GithubPicker extends Component<GithubPickerProps> { }
|