Skip to content

Commit

Permalink
Added missing "loading" attribute for "IFrameHTMLAttributes" (#4044)
Browse files Browse the repository at this point in the history
* Add missing "loading" attr to iFrame

* Add changeset

* re-ordering attributes
  • Loading branch information
lostra01 authored Jul 25, 2022
1 parent d2148ce commit 6f88597
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/rude-stingrays-fry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': patch
---

Added missing "loading" attribute to IFrameHTMLAttributes
2 changes: 2 additions & 0 deletions packages/astro/astro-jsx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -666,6 +666,7 @@ declare namespace astroHTML.JSX {
/** @deprecated */
frameborder?: number | string | undefined | null;
height?: number | string | undefined | null;
loading?: 'eager' | 'lazy' | undefined | null;
/** @deprecated */
marginheight?: number | string | undefined | null;
/** @deprecated */
Expand All @@ -679,6 +680,7 @@ declare namespace astroHTML.JSX {
src?: string | undefined | null;
srcdoc?: string | undefined | null;
width?: number | string | undefined | null;

}

interface ImgHTMLAttributes extends HTMLAttributes {
Expand Down

0 comments on commit 6f88597

Please sign in to comment.