plot-plan-designer
Version:
Design Editor Tools with React.js + ant.design + fabric.js
18 lines (17 loc) • 485 B
TypeScript
export default ColorPicker;
declare class ColorPicker extends React.Component<any, any, any> {
static propTypes: {
valueType: PropTypes.Requireable<string>;
};
static defaultProps: {
valueType: string;
};
constructor(props: any);
constructor(props: any, context: any);
handlers: {
onChange: (color: any) => void;
};
getBackgroundColor: (color: any) => string;
}
import React from "react";
import PropTypes from "prop-types";