diff --git a/reflex/components/datadisplay/datatable.py b/reflex/components/datadisplay/datatable.py index 880e37540..2fe652873 100644 --- a/reflex/components/datadisplay/datatable.py +++ b/reflex/components/datadisplay/datatable.py @@ -1,6 +1,6 @@ """Table components.""" -from typing import Any, List +from typing import Any, Dict, List, Union from reflex.components.component import Component from reflex.components.tags import Tag @@ -38,7 +38,7 @@ class DataTable(Gridjs): resizable: Var[bool] # Enable pagination. - pagination: Var[bool] + pagination: Var[Union[bool, Dict]] @classmethod def create(cls, *children, **props):