UNPKG

react-awesome-paginate

Version:

React awesome paginate is a modern, typescript based pagination component. You can use it in your project.

18 lines (17 loc) 485 B
import React from "react"; import "./Pagination.css"; interface PaginationProps { currentPage: number; totalPages: number; previousLabel?: string; nextLabel?: string; activeClassName?: string; paginationTheme?: string; morePagesLabel?: string; containerClassName?: string; prevClassName?: string; nextClassName?: string; onPageChange: (page: number) => void; } declare const Pagination: React.FC<PaginationProps>; export default Pagination;