Rows per page
{total != null
? `${pageStart}-${pageEnd} of ${total === -1 ? pageEnd : total}`
: null}
{startPages.map((pageNumber) => (
{pageNumber}
))}
{siblingsStart > boundaryCount + 2 ? (
) : boundaryCount + 1 < count - boundaryCount ? (
{boundaryCount + 1}
) : null}
{siblingPages.map((pageNumber) => (
{pageNumber}
))}
{siblingsEnd < count - boundaryCount - 1 ? (
) : count - boundaryCount > boundaryCount ? (
{count - boundaryCount}
) : null}
{endPages.map((pageNumber) => (
{pageNumber}
))}
);
};