diff --git a/src/XAxis.re b/src/XAxis.re index 2fa4e0b..884e9ce 100644 --- a/src/XAxis.re +++ b/src/XAxis.re @@ -31,7 +31,7 @@ external make: | `Str(string) | `Int(int) | `Float(float) - | `Component(React.element) + | `Element(React.element) | `Obj(Js.t({..})) ] =?, @@ -72,7 +72,7 @@ external make: ~tick: [@mel.unwrap] [ | `Obj(Js.t({..})) - | `Component(React.element) + | `Element(React.element) | `Bool(bool) | `Fn('tick => React.element) ] diff --git a/src/YAxis.re b/src/YAxis.re index ec14157..ae0a94f 100644 --- a/src/YAxis.re +++ b/src/YAxis.re @@ -31,7 +31,7 @@ external make: | `Str(string) | `Int(int) | `Float(float) - | `Component(React.element) + | `Element(React.element) | `Obj(Js.t({..})) ] =?, @@ -72,7 +72,7 @@ external make: ~tick: [@mel.unwrap] [ | `Obj(Js.t({..})) - | `Component(React.element) + | `Element(React.element) | `Bool(bool) | `Fn('tick => React.element) ] diff --git a/src/ZAxis.re b/src/ZAxis.re index d4d34ac..cf0b64b 100644 --- a/src/ZAxis.re +++ b/src/ZAxis.re @@ -31,7 +31,7 @@ external make: | `Str(string) | `Int(int) | `Float(float) - | `Component(React.element) + | `Element(React.element) | `Obj(Js.t({..})) ] =?, @@ -72,7 +72,7 @@ external make: ~tick: [@mel.unwrap] [ | `Obj(Js.t({..})) - | `Component(React.element) + | `Element(React.element) | `Bool(bool) | `Fn('tick => React.element) ]