@types/react-color
Version:
TypeScript definitions for react-color
17 lines (13 loc) • 512 B
TypeScript
import { Component, CSSProperties } from "react";
import { ColorPickerProps } from "../../..";
import { Classes } from "reactcss";
export interface AlphaPickerStylesProps {
picker: CSSProperties;
alpha: CSSProperties;
}
export interface AlphaPickerProps extends ColorPickerProps<AlphaPicker> {
height?: string | undefined;
width?: string | undefined;
styles?: Partial<Classes<AlphaPickerStylesProps>> | undefined;
}
export default class AlphaPicker extends Component<AlphaPickerProps> { }