Skip to content

Commit

Permalink
Add loading attribute for img and iframe
Browse files Browse the repository at this point in the history
  • Loading branch information
pete-murphy committed Jan 26, 2022
1 parent a1d9325 commit 6abb77d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions codegen/consts.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ module.exports.types = {
"formNoValidate": "Boolean",
"hidden": "Boolean",
"itemScope": "Boolean",
"loading": "String",
"loop": "Boolean",
"maxLength": "Int",
"minLength": "Int",
Expand Down
2 changes: 2 additions & 0 deletions codegen/react-html-attributes.json
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@
],
"iframe": [
"height",
"loading",
"name",
"sandbox",
"scrolling",
Expand All @@ -291,6 +292,7 @@
"img": [
"alt",
"height",
"loading",
"name",
"sizes",
"src",
Expand Down

0 comments on commit 6abb77d

Please sign in to comment.