count | number | - | Total number of pages. |
defaultPage | number | 1 | The initially selected page. |
boundaryCount | number | 1 | Number of pages to show at the beginning and end of pagination. |
siblingCount | number | 1 | Number of pages to show on each side of the current page. |
showFirstLast | boolean | false | Whether to show First and Last page buttons. |
showNextPrev | boolean | false | Whether to show Next and Previous page buttons. |
firstButton | ReactNode | 'First' | Custom content for the First page button. |
lastButton | ReactNode | 'Last' | Custom content for the Last page button. |
nextButton | ReactNode | 'Next' | Custom content for the Next page button. |
previousButton | ReactNode | 'Previous' | Custom content for the Previous page button. |
firstButtonClassName | string | '' | Additional CSS classes for the First button. |
lastButtonClassName | string | '' | Additional CSS classes for the Last button. |
nextButtonClassName | string | '' | Additional CSS classes for the Next button. |
previousButtonClassName | string | '' | Additional CSS classes for the Previous button. |
className | string | '' | Additional CSS classes for the root pagination container. |
buttonClassName | string | '' | Additional CSS classes for each page button. |
activeClassName | string | '' | CSS class applied to the active page button. |
ellipsisClassName | string | '' | CSS class applied to the ellipsis elements. |
numberType | normal roman custom | 'normal' | Type of page numbering to display. |
numbers | string[] | [] | Custom array of page numbers (used only if numberType is "custom"). |
onChange | (page: number) => void | - | Callback fired when the page changes. |