-
Notifications
You must be signed in to change notification settings - Fork 432
Closed
Description
Question
I'm wondering if I can use the PaginationProvider without a BootstrapTable component as a child, because I'm rendering a list instead of a table, and I want to still use the same customized pagination component for lists as well.
Example
basically I want to do something like this:
<List />
<PaginationProvider
pagination={paginationFactory(options)}
>
{({ paginationProps }) => (
<CustomPagination
isLoading={listIsLoading}
paginationProps={paginationProps}
/>
)}
</PaginationProvider>
instead of this
<PaginationProvider
pagination={paginationFactory(options)}
>
{({ paginationProps }) => (
<CustomPagination
isLoading={listIsLoading}
paginationProps={paginationProps}
>
<BootstrapTable
..........
/>
</CustomPagination>
)}
</PaginationProvider>
Metadata
Metadata
Assignees
Labels
No labels