import classNames from "classnames"; import styles from "./IFrame.module.css"; type IFrameProps = JSX.IntrinsicElements["iframe"] & { src: string; height: number; width?: number; // defaults to 100% allowScripts?: boolean; noScroll?: boolean; }; const IFrame = ({ src, title, height, width, allowScripts, noScroll, className, ...rest }: IFrameProps) => (