From 921a5cd6326066961b665bedde622ae0e6780a50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Brand=C3=A9ho?= Date: Fri, 19 Jul 2024 18:02:50 +0200 Subject: [PATCH] fix typo (#3689) --- reflex/components/recharts/cartesian.py | 2 +- reflex/components/recharts/cartesian.pyi | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/reflex/components/recharts/cartesian.py b/reflex/components/recharts/cartesian.py index c9d211149..e3f086a3d 100644 --- a/reflex/components/recharts/cartesian.py +++ b/reflex/components/recharts/cartesian.py @@ -406,7 +406,7 @@ class Line(Cartesian): stroke: Var[Union[str, Color]] = Var.create_safe(Color("accent", 9)) # The width of the line stroke. - stoke_width: Var[int] + stroke_width: Var[int] # The dot is shown when mouse enter a line chart and this chart has tooltip. If false set, no active dot will not be drawn. If true set, active dot will be drawn which have the props calculated internally. dot: Var[Union[bool, Dict[str, Any]]] = Var.create_safe( diff --git a/reflex/components/recharts/cartesian.pyi b/reflex/components/recharts/cartesian.pyi index 989207ab2..21be32b46 100644 --- a/reflex/components/recharts/cartesian.pyi +++ b/reflex/components/recharts/cartesian.pyi @@ -1232,7 +1232,7 @@ class Line(Cartesian): ] ] = None, stroke: Optional[Union[Var[Union[Color, str]], str, Color]] = None, - stoke_width: Optional[Union[Var[int], int]] = None, + stroke_width: Optional[Union[Var[int], int]] = None, dot: Optional[ Union[Var[Union[Dict[str, Any], bool]], bool, Dict[str, Any]] ] = None, @@ -1344,7 +1344,7 @@ class Line(Cartesian): *children: The children of the component. type_: The interpolation type of line. And customized interpolation function can be set to type. It's the same as type in Area. stroke: The color of the line stroke. - stoke_width: The width of the line stroke. + stroke_width: The width of the line stroke. dot: The dot is shown when mouse enter a line chart and this chart has tooltip. If false set, no active dot will not be drawn. If true set, active dot will be drawn which have the props calculated internally. active_dot: The dot is shown when user enter an area chart and this chart has tooltip. If false set, no active dot will not be drawn. If true set, active dot will be drawn which have the props calculated internally. label: If false set, labels will not be drawn. If true set, labels will be drawn which have the props calculated internally.