import classNames from "classnames"; import { IframeHTMLAttributes } from "react"; import styles from "./IFrame.module.css"; type Props = IframeHTMLAttributes & { height: number; width?: number; // defaults to 100% allowScripts?: boolean; noScroll?: boolean; }; const IFrame = ({ src, title, height, width, allowScripts, noScroll, className, ...rest }: Props) => (