A ReactJS pagination component