Pin Recharts Dependency (#1934)

* Pin dependency

* Translated README.md file to Brazilian Portuguese (PT-BR) (#1936)

* Namespace Recharts + Victory Back With Depreciation Warning (#1928)

---------

Co-authored-by: Alek Petuskey <alekpetuskey@Aleks-MBP.attlocal.net>
Co-authored-by: Victor Moura <26290053+victorcmoura@users.noreply.github.com>
This commit is contained in:
Alek Petuskey 2023-10-08 19:33:37 -07:00 committed by GitHub
parent 06103a4d8d
commit 80bf48b872
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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