diff --git a/src/app/components/AmpIframe/index.tsx b/src/app/components/AmpIframe/index.tsx index 38d784a9603..42b6847e058 100644 --- a/src/app/components/AmpIframe/index.tsx +++ b/src/app/components/AmpIframe/index.tsx @@ -11,6 +11,7 @@ type Props = { width: number; height: number; src: string; + title?: string; }; type ampMetadata = { @@ -19,6 +20,7 @@ type ampMetadata = { imageHeight: number; image: string; src: string; + title?: string; }; }; @@ -38,6 +40,7 @@ const AmpIframeElement = ({ width, height, src, + title, }: PropsWithChildren) => ( {children} ); const AmpIframe = ({ - ampMetadata: { imageWidth, imageHeight, image, src }, + ampMetadata: { imageWidth, imageHeight, image, src, title }, }: ampMetadata) => { return ( <> - + {/* @ts-expect-error Property 'overflow' does not exist on type 'DivProps & { css?: Interpolation; }'. */}