export default IframeHtml;
declare class IframeHtml extends React.Component {
constructor(props: any);
constructor(props: any, context: any);
state: {
shouldRender: boolean;
};
id: string;
componentDidMount(): void;
componentWillUnmount(): void;
componentWillReceiveProps(nextProps: any): void;
updateIframeContent: (content: any) => void;
shouldIgnoreLoad: boolean | undefined;
handleIframeMessage: ({ data }: {
data: any;
}) => void;
handleIframeLoad: () => void;
render(): React.JSX.Element | null;
iframe: HTMLIFrameElement | null | undefined;
}
declare namespace IframeHtml {
namespace propTypes {
const html: PropTypes.Validator;
const onHeightChange: PropTypes.Requireable;
const iframeSandboxDomain: PropTypes.Requireable;
const isViewer: PropTypes.Requireable;
}
}
import React from "react";
import PropTypes from "prop-types";
//# sourceMappingURL=IframeHtml.d.ts.map