1.0.33 • Published 4 years ago
pagination-peiss v1.0.33
0. image

1.you can install to type to terminal.
npm i pagination-peiss
npm start2.just import this top of your code.
import Pagination from "pagination-peiss"3.and then you can use like this
<Pagination
totalCount={300}
pagePerList={10}
activePage={page}
onClick={(page)=>handlePageFn(page)}
prevText={"<"}
nextText={">"}
prevEndText={"<<"}
nextEndText={">>"}
/>4. this is thte param description
totalCount : total length of the page
pagePerList : slice the length that how many you want to show
activePage : current page
onClick : when you click the each number you can handle it using your custom function
prevText : you can custom the button previous list to show
nextText : you can custom the button next list to show
prevEndText : you can custom the button at the first list to show
nextEndText : you can custom the button at the last list to show 1.0.22
4 years ago
1.0.26
4 years ago
1.0.25
4 years ago
1.0.24
4 years ago
1.0.23
4 years ago
1.0.29
4 years ago
1.0.28
4 years ago
1.0.27
4 years ago
1.0.33
4 years ago
1.0.32
4 years ago
1.0.31
4 years ago
1.0.30
4 years ago
1.0.21
4 years ago
1.0.20
4 years ago
1.0.19
4 years ago
1.0.18
4 years ago
1.0.17
4 years ago
1.0.16
4 years ago
1.0.15
4 years ago
1.0.13
4 years ago
1.0.12
4 years ago
1.0.11
4 years ago
1.0.10
4 years ago
1.0.9
4 years ago
1.0.8
4 years ago
1.0.7
4 years ago
1.0.6
4 years ago
1.0.5
4 years ago
1.0.4
4 years ago
1.0.3
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago