import { ComponentProps } from 'react'; import { Pagination } from '../../Pagination'; export type PaginationProps = Omit, 'onChangePageValue' | 'onChange'> & { onChangePageValue?: (page: number | undefined, scrollToTop: () => void) => void; onChange?: (newPage: number | undefined, perPage: number | undefined, scrollToTop: () => void) => void; responsiveSlots?: boolean; onResize?: (width: number) => void; }; export type PaginationSize = NonNullable; export type PaginationSlots = PaginationProps['slots'];