Skip to content

Commit

Permalink
added support for limits in pagination (#1646)
Browse files Browse the repository at this point in the history
  • Loading branch information
wassafshahzad authored Aug 22, 2023
1 parent 0ce77c1 commit 42e9924
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reflex/components/datadisplay/datatable.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit 42e9924

Please sign in to comment.