diff --git a/reflex/components/recharts/polar.py b/reflex/components/recharts/polar.py index 088e46c16..f453365d6 100644 --- a/reflex/components/recharts/polar.py +++ b/reflex/components/recharts/polar.py @@ -343,7 +343,7 @@ class PolarRadiusAxis(Recharts): _valid_children: List[str] = ["Label"] # The domain of the polar radius axis, specifying the minimum and maximum values. Default: [0, "auto"] - domain: Var[List[int]] + domain: Var[List[Union[int, str]]] # The stroke color of axis. Default: rx.color("gray", 10) stroke: Var[Union[str, Color]] = LiteralVar.create(Color("gray", 10)) diff --git a/reflex/components/recharts/polar.pyi b/reflex/components/recharts/polar.pyi index 3fcfb8aa3..322a20451 100644 --- a/reflex/components/recharts/polar.pyi +++ b/reflex/components/recharts/polar.pyi @@ -545,7 +545,9 @@ class PolarRadiusAxis(Recharts): ], ] ] = None, - domain: Optional[Union[List[int], Var[List[int]]]] = None, + domain: Optional[ + Union[List[Union[int, str]], Var[List[Union[int, str]]]] + ] = None, stroke: Optional[Union[Color, Var[Union[Color, str]], str]] = None, style: Optional[Style] = None, key: Optional[Any] = None,