|
@@ -1,6 +1,5 @@
|
|
"""A component that wraps a recharts lib."""
|
|
"""A component that wraps a recharts lib."""
|
|
|
|
|
|
-from typing import List
|
|
|
|
|
|
|
|
from reflex.components.component import Component, NoSSRComponent
|
|
from reflex.components.component import Component, NoSSRComponent
|
|
|
|
|
|
@@ -8,14 +7,10 @@ from reflex.components.component import Component, NoSSRComponent
|
|
class Recharts(Component):
|
|
class Recharts(Component):
|
|
"""A component that wraps a victory lib."""
|
|
"""A component that wraps a victory lib."""
|
|
|
|
|
|
- library = "recharts"
|
|
|
|
-
|
|
|
|
- lib_dependencies: List[str] = ["recharts@2.8.0"]
|
|
|
|
|
|
+ library = "recharts@2.8.0"
|
|
|
|
|
|
|
|
|
|
class RechartsCharts(NoSSRComponent):
|
|
class RechartsCharts(NoSSRComponent):
|
|
"""A component that wraps a victory lib."""
|
|
"""A component that wraps a victory lib."""
|
|
|
|
|
|
- library = "recharts"
|
|
|
|
-
|
|
|
|
- lib_dependencies: List[str] = ["recharts@2.8.0"]
|
|
|
|
|
|
+ library = "recharts@2.8.0"
|