Skip to content

Commit

Permalink
change Component to Element
Browse files Browse the repository at this point in the history
  • Loading branch information
johnhaley81 committed Dec 2, 2024
1 parent 527b615 commit edcbe31
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/XAxis.re
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ external make:
| `Str(string)
| `Int(int)
| `Float(float)
| `Component(React.element)
| `Element(React.element)
| `Obj(Js.t({..}))
]
=?,
Expand Down Expand Up @@ -72,7 +72,7 @@ external make:
~tick:
[@mel.unwrap] [
| `Obj(Js.t({..}))
| `Component(React.element)
| `Element(React.element)
| `Bool(bool)
| `Fn('tick => React.element)
]
Expand Down
4 changes: 2 additions & 2 deletions src/YAxis.re
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ external make:
| `Str(string)
| `Int(int)
| `Float(float)
| `Component(React.element)
| `Element(React.element)
| `Obj(Js.t({..}))
]
=?,
Expand Down Expand Up @@ -72,7 +72,7 @@ external make:
~tick:
[@mel.unwrap] [
| `Obj(Js.t({..}))
| `Component(React.element)
| `Element(React.element)
| `Bool(bool)
| `Fn('tick => React.element)
]
Expand Down
4 changes: 2 additions & 2 deletions src/ZAxis.re
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ external make:
| `Str(string)
| `Int(int)
| `Float(float)
| `Component(React.element)
| `Element(React.element)
| `Obj(Js.t({..}))
]
=?,
Expand Down Expand Up @@ -72,7 +72,7 @@ external make:
~tick:
[@mel.unwrap] [
| `Obj(Js.t({..}))
| `Component(React.element)
| `Element(React.element)
| `Bool(bool)
| `Fn('tick => React.element)
]
Expand Down

0 comments on commit edcbe31

Please sign in to comment.