Skip to content

Commit

Permalink
breaking: support jsx4
Browse files Browse the repository at this point in the history
Co-authored-by: Gabriel <[email protected]>
Co-authored-by: Pete Shaw <[email protected]>
  • Loading branch information
3 people committed Jan 17, 2024
1 parent 90cd75c commit 284ee39
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
4 changes: 1 addition & 3 deletions packages/reform/bsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/rescript-lang/rescript-compiler/master/docs/docson/build-schema.json",
"name": "@rescriptbr/reform",
"reason": { "react-jsx": 3 },
"refmt": 3,
"jsx": { "version": 4 },
"bs-dependencies": [
"@rescript/react",
"@rescriptbr/reschema",
Expand Down
5 changes: 0 additions & 5 deletions packages/reform/src/ReForm.res
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,6 @@ module Make = (Config: Config) => {
}

module Provider = {
let makeProps = (~value, ~children, ()) =>
{
"value": Some(value),
"children": children,
}
let make = React.Context.provider(formContext)
}

Expand Down

0 comments on commit 284ee39

Please sign in to comment.