Returns groups of page numbers for pagination purposes (e.g. "Jump to Page" type buttons).
If options are provided but exclude a value for boundaryPadding, a default will be computed based on the value of
currentPagePadding. This default should be used as it leads to a constant number of page numbers regardless of the
current page (to avoid buttons jumping around).
Returns groups of page numbers for pagination purposes (e.g. "Jump to Page" type buttons).
If options are provided but exclude a value for
boundaryPadding, a default will be computed based on the value ofcurrentPagePadding. This default should be used as it leads to a constant number of page numbers regardless of the current page (to avoid buttons jumping around).