Skip to content

Commit 6abb77d

Browse files
committed
Add loading attribute for img and iframe
1 parent a1d9325 commit 6abb77d

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

codegen/consts.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ module.exports.types = {
5050
"formNoValidate": "Boolean",
5151
"hidden": "Boolean",
5252
"itemScope": "Boolean",
53+
"loading": "String",
5354
"loop": "Boolean",
5455
"maxLength": "Int",
5556
"minLength": "Int",

codegen/react-html-attributes.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@
282282
],
283283
"iframe": [
284284
"height",
285+
"loading",
285286
"name",
286287
"sandbox",
287288
"scrolling",
@@ -291,6 +292,7 @@
291292
"img": [
292293
"alt",
293294
"height",
295+
"loading",
294296
"name",
295297
"sizes",
296298
"src",

0 commit comments

Comments
 (0)