@navinc/base-react-components
Version:
Nav's Pattern Library
9 lines (8 loc) • 600 B
TypeScript
/// <reference types="react" />
import { PaginationProps as MuiPaginationProps } from '@mui/material/Pagination';
declare type InternalPaginationProps = {
'data-testid'?: string;
};
declare type PaginationProps = Pick<MuiPaginationProps, 'className' | 'count' | 'disabled' | 'onChange' | 'page'> & InternalPaginationProps;
declare const StyledPagination: import("styled-components").StyledComponent<({ "data-testid": dataTestId, className, count, disabled, onChange, page, }: PaginationProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
export default StyledPagination;