/** IframeWrapper.tsx */ import React, { ReactNode } from "react"; /** IframeWrapper component that acts as a wrapper for media elements */ export interface IframeWrapperProps extends React.HTMLAttributes { children: ReactNode; /** LazyLoad media, enabled by default, see default props for explanation */ lazyLoad?: boolean; /** In the first round of render, LazyLoad will render a placeholder for your component * if no placeholder is provided and measure if this component is visible. * Set height properly will make LazyLoad calculate more precisely. * */ lazyHeight?: number; } declare const IframeWrapper: React.VFC; export default IframeWrapper;