@types/react-js-pagination
TypeScript icon, indicating that this package has built-in type declarations

3.0.7 • Public • Published

Installation

npm install --save @types/react-js-pagination

Summary

This package contains type definitions for react-js-pagination (https://github.com/vayser/react-js-pagination).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-js-pagination.

index.d.ts

import * as React from "react";

export interface ReactJsPaginationProps {
    totalItemsCount: number;
    onChange: (pageNumber: number) => void;
    activePage: number;
    itemsCountPerPage?: number | undefined;
    pageRangeDisplayed?: number | undefined;
    prevPageText?: string | React.ReactElement | undefined;
    nextPageText?: string | React.ReactElement | undefined;
    lastPageText?: string | React.ReactElement | undefined;
    firstPageText?: string | React.ReactElement | undefined;
    disabledClass?: string | undefined;
    hideDisabled?: boolean | undefined;
    hideNavigation?: boolean | undefined;
    innerClass?: string | undefined;
    itemClass?: string | undefined;
    itemClassFirst?: string | undefined;
    itemClassPrev?: string | undefined;
    itemClassNext?: string | undefined;
    itemClassLast?: string | undefined;
    linkClass?: string | undefined;
    activeClass?: string | undefined;
    activeLinkClass?: string | undefined;
    linkClassFirst?: string | undefined;
    linkClassPrev?: string | undefined;
    linkClassNext?: string | undefined;
    linkClassLast?: string | undefined;
    hideFirstLastPages?: boolean | undefined;
    getPageUrl?: ((pageNumber: number) => string) | undefined;
}
declare const Pagination: React.ClassicComponentClass<ReactJsPaginationProps>;

export default Pagination;

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: @types/react

Credits

These definitions were written by Ernesto Cruz.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/react-js-pagination

Weekly Downloads

19,372

Version

3.0.7

License

MIT

Unpacked Size

5.41 kB

Total Files

5

Last publish

Collaborators

  • types