Skip to content

Commit

Permalink
fix typo (#3689)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lendemor authored Jul 19, 2024
1 parent 1da606d commit 921a5cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion reflex/components/recharts/cartesian.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
4 changes: 2 additions & 2 deletions reflex/components/recharts/cartesian.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 921a5cd

Please sign in to comment.