UNPKG

plot-plan-designer

Version:

Design Editor Tools with React.js + ant.design + fabric.js

25 lines (24 loc) 746 B
export default ColorPicker; declare class ColorPicker extends React.Component<any, any, any> { static propTypes: { valueType: PropTypes.Requireable<string>; onChange: PropTypes.Requireable<(...args: any[]) => any>; value: PropTypes.Requireable<NonNullable<string | object>>; }; static defaultProps: { valueType: string; }; constructor(props: any); constructor(props: any, context: any); handlers: { onChange: (color: any) => void; }; state: { color: any; }; UNSAFE_componentWillReceiveProps(nextProps: any): void; getBackgroundColor: (color: any) => string; render(): JSX.Element; } import React from 'react'; import PropTypes from 'prop-types';