From edcbe31041046a22dde1eeb6a411af3d32701f60 Mon Sep 17 00:00:00 2001 From: John Haley Date: Mon, 2 Dec 2024 11:59:59 -0700 Subject: [PATCH] change `Component to `Element --- src/XAxis.re | 4 ++-- src/YAxis.re | 4 ++-- src/ZAxis.re | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) 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) ]