@vtex/styleguide
Version:
> VTEX Styleguide React components ([Docs](https://vtex.github.io/styleguide))
15 lines (14 loc) • 431 B
TypeScript
import { FC } from 'react';
declare const Pagination: FC<PaginationProps>;
export declare type PaginationProps = {
textShowRows: string;
textOf: string;
rowsOptions: Array<number>;
currentItemFrom: number;
currentItemTo: number;
totalItems: number;
onNextClick: (e: Event) => void;
onPrevClick: (e: Event) => void;
onRowsChange: (e: Event, value: unknown) => void;
};
export default Pagination;