plot-plan-designer
Version:
Design Editor Tools with React.js + ant.design + fabric.js
30 lines (29 loc) • 816 B
TypeScript
export default CodeModal;
declare class CodeModal extends React.Component<any, any, any> {
static propTypes: {
value: PropTypes.Requireable<any>;
onChange: PropTypes.Requireable<(...args: any[]) => any>;
form: PropTypes.Requireable<any>;
};
constructor(props: any);
constructor(props: any, context: any);
state: {
chartOption: any;
visible: boolean;
};
UNSAFE_componentWillReceiveProps(nextProps: any): void;
handlers: {
onOk: () => void;
onCancel: () => void;
onClick: () => void;
};
modalHandlers: {
onShow: () => void;
onHide: () => void;
};
render(): JSX.Element;
jsRef: ReactAce;
}
import React from 'react';
import ReactAce from 'react-ace';
import PropTypes from 'prop-types';