Skip to content

Commit 4b2fe12

Browse files
committed
Add suppressHydrationWarning to ReactDOM.domProps
1 parent 6c4b9c6 commit 4b2fe12

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/ReactDOM.res

+4-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,10 @@ module Ref = {
6161
external callbackDomRef: callbackDomRef => domRef = "%identity"
6262
}
6363

64-
type domProps = JsxDOM.domProps
64+
type domProps = {
65+
...JsxDOM.domProps,
66+
suppressHydrationWarning?: bool,
67+
}
6568

6669
@deprecated("Please use type ReactDOM.domProps")
6770
type props = JsxDOM.domProps

0 commit comments

Comments
 (0)