Skip to content

A pagination component built using React.js

Notifications You must be signed in to change notification settings

ghoshnirmalya/react-pagination-box

Repository files navigation

react-pagination-box

A pagination component built using React.js

Install

npm install --save react-pagination-box

Usage

import React, { Component } from "react";

import MyComponent from "react-pagination-box";

class Example extends Component {
  render() {
    return (
      <ReactPaginationComponent
        color="#333"
        isLoading={isLoading}
        onChange={handleChange}
        currentPage={currentPage}
        totalPages={totalPages}
      />
    );
  }
}

License

MIT © ghoshnirmalya