///
import { IProps } from '../utils';
import Box from './Box';
interface IMProps extends IProps {
data?: string;
}
interface IState {
show?: boolean;
}
export default class ColorComp extends Box {
state: {
show: any;
};
private colorDom;
onColorClick: () => void;
onInputChange: (e: any) => void;
closeColorPicker: () => void;
colorHandleChange: (value: any) => void;
getStyle: (rect: any, { r, top, center }: {
r: any;
top: any;
center: any;
}) => {
top: any;
left: any;
transformOrigin: string;
};
getColorPicker: (rect: any) => JSX.Element;
getRect: () => {
windowRect: {
width: number;
height: number;
scrollTop: number;
};
colorRect: DOMRect | ClientRect;
};
getChildrenToRender: () => JSX.Element;
}
export {};