Skip to content

Commit 68d6b43

Browse files
authored
fix(types/jsx): add missing loading attr for img element (#6160)
1 parent 381b497 commit 68d6b43

File tree

1 file changed

+1
-0
lines changed
  • packages/runtime-dom/src

1 file changed

+1
-0
lines changed

packages/runtime-dom/src/jsx.ts

+1
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,7 @@ export interface ImgHTMLAttributes extends HTMLAttributes {
457457
srcset?: string
458458
usemap?: string
459459
width?: Numberish
460+
loading?: 'lazy' | 'eager'
460461
}
461462

462463
export interface InsHTMLAttributes extends HTMLAttributes {

0 commit comments

Comments
 (0)