@eccenca/gui-elements
Version:
GUI elements based on other libraries, usable in React application, written in Typescript.
14 lines (13 loc) • 798 B
TypeScript
import React from "react";
import { SimpleDialogProps } from "../Dialog/SimpleDialog";
import { IframeProps } from "./Iframe";
export interface IframeModalProps extends Omit<SimpleDialogProps, "children"> {
title: string;
src: string;
startFullscreen?: boolean;
compIframeProps?: Omit<IframeProps, "title" | "src" | "htmlIframeProps"> & React.RefAttributes<HTMLIFrameElement>;
htmlIframeProps?: Omit<React.IframeHTMLAttributes<HTMLIFrameElement>, "title" | "className" | "src">;
}
/** Modal that contains an iframe and supports full screen mode. */
export declare const IframeModal: ({ title, src, className, startFullscreen, compIframeProps, htmlIframeProps, headerOptions, size, ...otherSimpleDialogProps }: IframeModalProps) => React.JSX.Element;
export default IframeModal;