diff --git a/src/python-fastui/fastui/components/__init__.py b/src/python-fastui/fastui/components/__init__.py index 8d38c096..948b8dfd 100644 --- a/src/python-fastui/fastui/components/__init__.py +++ b/src/python-fastui/fastui/components/__init__.py @@ -14,6 +14,7 @@ from .. import class_name as _class_name from .. import events from .. import types as _types +from .charts import RechartsLineChart from .display import Details, Display from .forms import ( Form, @@ -67,6 +68,8 @@ 'FormFieldInput', 'FormFieldSelect', 'FormFieldSelectSearch', + # then charts + 'RechartsLineChart', ) @@ -311,8 +314,6 @@ class Custom(_p.BaseModel, extra='forbid'): type: _t.Literal['Custom'] = 'Custom' -from .charts import RechartsLineChart - AnyComponent = _te.Annotated[ _t.Union[ Text,