@veracity/vui
Version:
Veracity UI is a React component library crafted for use within Veracity applications and pages. Based on Styled Components and @xstyled.
12 lines (11 loc) • 498 B
TypeScript
//#region src/pagination/usePagination.types.d.ts
type UsePaginationProps = {
/** Total amount of items being paginated. */count: number; /** Starting page in uncontrolled mode. */
defaultPage?: number; /** Callback triggered by Pagination elements. */
onPageChange?: (page: number) => void; /** Currently displayed page. */
page?: number; /** Amount of items per page. */
pageSize: number;
};
//#endregion
export { UsePaginationProps };
//# sourceMappingURL=usePagination.types.d.ts.map