added support for limits in pagination (#1646)
This commit is contained in:
parent
0ce77c1ca9
commit
42e9924273
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user