A ReactJS component that create a pagination