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:
parent
d2148ce982
commit
6f88597c36
2 changed files with 7 additions and 0 deletions
5
.changeset/rude-stingrays-fry.md
Normal file
5
.changeset/rude-stingrays-fry.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
Added missing "loading" attribute to IFrameHTMLAttributes
|
2
packages/astro/astro-jsx.d.ts
vendored
2
packages/astro/astro-jsx.d.ts
vendored
|
@ -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 */
|
||||
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue