Skip to content

kyojin/react-paginate

This branch is 615 commits behind AdeleD/react-paginate:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Mar 3, 2015
c37c1a5 · Mar 3, 2015

History

97 Commits
Feb 24, 2015
Mar 3, 2015
Jan 16, 2015
Mar 3, 2015
Mar 3, 2015
Feb 27, 2015
Feb 27, 2015
Mar 2, 2015
Mar 2, 2015
Mar 3, 2015
Mar 3, 2015
Feb 27, 2015
Mar 3, 2015
Mar 3, 2015
Mar 2, 2015

Repository files navigation

react-paginate

A ReactJS component to render a pagination.

By installing this component and writing only a little bit of CSS you can obtain this:

Pagination sample 2

or

Pagination sample 1

Installation

Install react-paginate with npm:

$ npm install react-paginate

For CommonJS users:

var ReactPaginate = require('react-paginate');

Read the code of sample/sample.jsx. You will quickly understand how to make react-paginate work with a list of objects.

Sample project (demo)

Clone the repository and move into:

$ git clone [email protected]:AdeleD/react-paginate.git
$ cd react-paginate

Install dependencies:

$ make install

Run the server:

$ make serve

Open your browser and go to http://localhost:3000/.

Contribute

  1. Submit an issue
  2. Fork the repository
  3. Create a dedicated branch (never ever work in master)
  4. Fix bugs or implement features
  5. Always write tests

Run tests:

$ make test

About

A ReactJS component that creates a pagination

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 86.4%
  • HTML 11.8%
  • CSS 1.2%
  • Makefile 0.6%