plot-plan-designer
Version:
Design Editor Tools with React.js + ant.design + fabric.js
30 lines (29 loc) • 812 B
TypeScript
export default AceModal;
declare class AceModal 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);
handlers: {
onOk: () => void;
onCancel: () => void;
onClick: () => void;
};
modalHandlers: {
onShow: () => void;
onHide: () => void;
};
state: {
code: any;
visible: boolean;
};
UNSAFE_componentWillReceiveProps(nextProps: any): void;
render(): JSX.Element;
aceRef: AceEditor;
}
import React from 'react';
import AceEditor from './AceEditor';
import PropTypes from 'prop-types';