import { useCallback } from 'react'; import type * as React from 'react'; import Button from '../Button/Button'; import Ellipses from './Ellipses'; import Page from './Page'; import classNames from 'classnames'; import { ArrowIcon } from '../Icons'; import { t } from '../i18n'; import useId from '../utilities/useId'; export type PaginationHeadingLevel = '1' | '2' | '3' | '4' | '5' | '6'; interface BasePaginationProps { /** * Defines `aria-label` on the screen-reader heading for this element, which precedes the page count readout. Since this exists on a `