0.0.4 • Published 9 months ago

react-use-pagination-params v0.0.4

Weekly downloads
-
License
Unlicense
Repository
github
Last release
9 months ago

usePaginationParams

A simple React library for managing pagination through the URL

API

usePaginationParams()

usePaginationParams(args? : { limit? : number, offset? : number }) => {
        limit: number, 
        offset: number,
        setLimit: (limit: number) => void,
        setOffset: (offset: number) => void,
}
ParameterTypeRequired?Default valueDescription
limitnumberoptional5Default limit
offsetnumberoptional0Default offset
0.0.4

9 months ago

0.0.3

9 months ago

0.0.2

9 months ago

0.0.1

9 months ago