Props: The properties passed to the Pagination component.

Param

The current page number.

Param

The total number of pages.

Param

A function that is called when the page number changes.

Hierarchy

  • PropsPagination

Properties

handlePageChange: ((page) => void)

Type declaration

    • (page): void
    • Parameters

      • page: number

      Returns void

page: number
totalPages: number

Generated using TypeDoc