Skip to content

Commit

Permalink
move import to the top
Browse files Browse the repository at this point in the history
  • Loading branch information
tim committed Feb 19, 2024
1 parent fe37805 commit e1725f9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/python-fastui/fastui/components/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -67,6 +68,8 @@
'FormFieldInput',
'FormFieldSelect',
'FormFieldSelectSearch',
# then charts
'RechartsLineChart',
)


Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit e1725f9

Please sign in to comment.