import { h } from 'preact'; export interface IFrameProps { // The url to embed. url: string; // When closed. onClose: () => void; } export const IFrame = (props: IFrameProps) => { const { url, onClose } = props; return (
); };