0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00

Added missing "loading" attribute for "IFrameHTMLAttributes" (#4044)

* Add missing "loading" attr to iFrame

* Add changeset

* re-ordering attributes
This commit is contained in:
András Torma 2022-07-25 17:11:08 +02:00 committed by GitHub
parent d2148ce982
commit 6f88597c36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View file

@ -0,0 +1,5 @@
---
'astro': patch
---
Added missing "loading" attribute to IFrameHTMLAttributes

View file

@ -666,6 +666,7 @@ declare namespace astroHTML.JSX {
/** @deprecated */ /** @deprecated */
frameborder?: number | string | undefined | null; frameborder?: number | string | undefined | null;
height?: number | string | undefined | null; height?: number | string | undefined | null;
loading?: 'eager' | 'lazy' | undefined | null;
/** @deprecated */ /** @deprecated */
marginheight?: number | string | undefined | null; marginheight?: number | string | undefined | null;
/** @deprecated */ /** @deprecated */
@ -679,6 +680,7 @@ declare namespace astroHTML.JSX {
src?: string | undefined | null; src?: string | undefined | null;
srcdoc?: string | undefined | null; srcdoc?: string | undefined | null;
width?: number | string | undefined | null; width?: number | string | undefined | null;
} }
interface ImgHTMLAttributes extends HTMLAttributes { interface ImgHTMLAttributes extends HTMLAttributes {