usePaginator

Source
import { usePaginator } from "@prestojs/util";
usePaginator<PaginatorT,PaginatorState>(paginatorClassOrProvider,?currentStatePair)
Source

Arguments:

ArgumentTypeDescription
*paginatorClassOrProvidernull||
currentStatePair[undefined|PaginatorState, ]
Returns:PaginatorT|null