Skip to content

Commit 5a4a87c

Browse files
author
Corné Dorrestijn
authored
Added as property to DOM props (#603)
* Added `as` property to DOM props * Added the as prop to the props type
1 parent d4615c5 commit 5a4a87c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/ReactDOM.re

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,8 @@ module Props = {
203203
[@bs.optional]
204204
itemType: string, /* uri */
205205
/* tag-specific html attributes */
206+
[@bs.optional] [@bs.as "as"]
207+
as_: string,
206208
[@bs.optional]
207209
accept: string,
208210
[@bs.optional]
@@ -1227,6 +1229,8 @@ module Props = {
12271229
[@bs.optional]
12281230
itemType: string, /* uri */
12291231
/* tag-specific html attributes */
1232+
[@bs.optional] [@bs.as "as"]
1233+
as_: string,
12301234
[@bs.optional]
12311235
accept: string,
12321236
[@bs.optional]

0 commit comments

Comments
 (0)