import React from 'react'; import Color from './helpers/color'; import { ParamsColor } from './Params'; interface PreviewProps { alpha?: number; color?: string | ParamsColor | Color; onChange?: (color: Color) => void; onInputClick?: (event: React.MouseEvent) => void; rootPrefixCls?: string; } export default class Preview extends React.Component { static propTypes: { alpha: any; color: any; onChange: any; onInputClick: any; rootPrefixCls: any; }; onChange: (e: any) => void; getPrefixCls: () => string; render(): JSX.Element; } export {};