import { ReactElement, ReactNode } from "react"; export interface IPageItemProps { active?: boolean; children: ReactNode; disabled?: boolean; onClick: () => void; ["data-testid"]?: string; ["aria-label"]?: string; } export interface IPageNavButtonProps { ariaLabel?: string; children: ReactElement | ReactElement[] | string; } interface IPaginationProps { adjacentShowCount?: number; backButtonProps?: IPageNavButtonProps; className?: string; currentPageIndex: number; disabled?: boolean; forwardButtonProps?: IPageNavButtonProps; itemCount: number; onPageChange?: (pageIndex: number) => void; pageSize?: number; ["data-testid"]?: string; } export default IPaginationProps;