Skip to content

Commit

Permalink
Add suppressHydrationWarning to ReactDOM.domProps
Browse files Browse the repository at this point in the history
  • Loading branch information
jderochervlk committed May 17, 2024
1 parent bc0d138 commit 4e37e83
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/ReactDOM.res
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ module Ref = {
external callbackDomRef: callbackDomRef => domRef = "%identity"
}

type domProps = JsxDOM.domProps
type domProps = {
...JsxDOM.domProps,
suppressHydrationWarning?: bool,
}

@deprecated("Please use type ReactDOM.domProps")
type props = JsxDOM.domProps
Expand Down

0 comments on commit 4e37e83

Please sign in to comment.