plot-plan-designer
Version:
Design Editor Tools with React.js + ant.design + fabric.js
23 lines (22 loc) • 683 B
TypeScript
export default AcePreview;
declare class AcePreview extends React.Component<any, any, any> {
static propTypes: {
html: PropTypes.Requireable<string>;
css: PropTypes.Requireable<string>;
js: PropTypes.Requireable<string>;
};
static defaultProps: {
html: string;
css: string;
js: string;
};
constructor(props: any);
constructor(props: any, context: any);
componentDidMount(): void;
componentDidUpdate(prevProps: any): void;
iframeRender: (html: any, css: any, js: any) => void;
render(): JSX.Element;
container: HTMLDivElement;
}
import React from 'react';
import PropTypes from 'prop-types';