import React from "react"; import { TestableComponent } from "../interfaces"; export interface IframeProps extends TestableComponent { className?: string; title: string; src: string; useViewportHeight?: "quarter" | "third" | "half" | "full"; useAvailableSpace?: boolean; /** * Use height calculated from iframe content. * Currently this only works when the iframe content is not changed after the onLoad event by lazy loading, etc. * It also takes not height changes into account that are based on resized viewport */ useContentHeight?: boolean; backgroundColor?: string; htmlIframeProps?: Omit, "title" | "className" | "src">; } /** * Display iframe but shows a spinner as long as it is not loaded. */ export declare const Iframe: React.ForwardRefExoticComponent>; export default Iframe;