A Paginator Component for Reactjs