File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -113,6 +113,8 @@ external memoCustomCompareProps: (
113
113
@uncurry ('props , 'props ) => bool ,
114
114
) => component <'props > = "memo"
115
115
116
+ @module ("react" ) external fragment : 'a = "Fragment"
117
+
116
118
module Fragment = {
117
119
type props <'children > = {key ?: string , children : 'children }
118
120
Original file line number Diff line number Diff line change @@ -1292,7 +1292,7 @@ module Props = {
1292
1292
@optional
1293
1293
formMethod : string /* "post", "get", "put" */ ,
1294
1294
@optional
1295
- frameBorder : int , /* deprecated, prefer to use css border instead */
1295
+ frameBorder : int /* deprecated, prefer to use css border instead */ ,
1296
1296
@optional
1297
1297
headers : string ,
1298
1298
@optional
@@ -2106,6 +2106,17 @@ module Props = {
2106
2106
2107
2107
include Props
2108
2108
2109
+ @variadic @module ("react" )
2110
+ external createElement : (string , ~props : props = ?, array <React .element >) => React .element =
2111
+ "createElement"
2112
+
2113
+ @variadic @module ("react" )
2114
+ external createDOMElementVariadic : (
2115
+ string ,
2116
+ ~props : domProps = ?,
2117
+ array <React .element >,
2118
+ ) => React .element = "createElement"
2119
+
2109
2120
@module ("react/jsx-runtime" )
2110
2121
external jsxKeyed : (string , JsxDOM .domProps , string ) => Jsx .element = "jsx"
2111
2122
You can’t perform that action at this time.
0 commit comments