@flying-studio/use-pagination
v1.1.1
Published
分页请求库
Downloads
9
Readme
usePagination
import usePagination from "@flying-studio/use-pagination";
const { data, loading, error, run, refresh, fetchData } = usePagination(
(currPage) => request(currPage)
);
start with yarn
npm i @flying-studio/use-pagination
yarn add @flying-studio/use-pagination
pnpm add @flying-studio/use-pagination