Skip to content

Commit 0aa58fa

Browse files
Corné Dorrestijndavesnx
authored andcommitted
Added as property to DOM props (#603)
* Added `as` property to DOM props * Added the as prop to the props type
1 parent ff945a4 commit 0aa58fa

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
@@ -207,6 +207,8 @@ module Props = {
207207
[@bs.optional]
208208
itemType: string, /* uri */
209209
/* tag-specific html attributes */
210+
[@bs.optional] [@bs.as "as"]
211+
as_: string,
210212
[@bs.optional]
211213
accept: string,
212214
[@bs.optional]
@@ -1234,6 +1236,8 @@ module Props = {
12341236
[@bs.optional]
12351237
itemType: string, /* uri */
12361238
/* tag-specific html attributes */
1239+
[@bs.optional] [@bs.as "as"]
1240+
as_: string,
12371241
[@bs.optional]
12381242
accept: string,
12391243
[@bs.optional]

0 commit comments

Comments
 (0)