Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 632 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 632 Bytes

Custom Pagination

Custom Pagination

Custom Pagination

Custom Pagination component in React and TypeScript A Pagination component simply needs 3 important props:

  1. currentPage
  2. setCurrentPage
  3. pageCount

Technologies

  • React
  • TypeScript
  • Vite

Setup

# Clone this repo
git clone https://github.com/hesbon-osoro/custom-pagination.git

# Navigate to directory and install packages
cd custom-pagination && yarn

# Start the app
yarn dev