没有合适的资源?快使用搜索试试~ 我知道了~
:atom_symbol: React 渲染道具组件和用于分页的自定义钩子。
共24个文件
json:7个
tsx:4个
ts:3个
需积分: 5 0 下载量 135 浏览量
2021-06-08
15:38:00
上传
评论
收藏 234KB ZIP 举报
温馨提示
分页 React 渲染道具和用于分页的自定义钩子。 特性 Headless 组件 - 对 ui 表达式没有限制。 Style free - 这个库只关心分页的功能。 使用 RTL 小尺寸测试 - https://bundlephobia.com/[email protected]/paginated 安装 npm i @makotot/paginated Example With Chakra UI Usage Render Props import { Paginated } from '@makotot/paginated' ... return ( {({ pages, currentPage, hasPrev, hasNext, getFirstBoundary, getLastBoundary, isPrevTruncated, isNextTruncated }) => ( {hasPrev() && prev } {getFirstBoundary().map(boundary => {boundary} )} {isPrevTruncated && ... } {pa
资源推荐
资源详情
资源评论
收起资源包目录
paginated-master.zip (24个子文件)
paginated-master
example
package.json 506B
index.html 342B
package-lock.json 263KB
stiches.config.ts 159B
.npmignore 24B
tsconfig.json 438B
index.tsx 214B
App.tsx 3KB
renovate.json 41B
package.json 2KB
.github
workflows
main.yml 740B
size.yml 258B
release.yml 551B
test
index.test.tsx 11KB
LICENSE 1KB
package-lock.json 681KB
src
types.ts 440B
index.tsx 509B
usePaginated.ts 3KB
.eslintrc.js 191B
tsconfig.json 1KB
.gitignore 41B
CHANGELOG.md 377B
README.md 4KB
共 24 条
- 1
资源评论
yueyhangcheuk
- 粉丝: 28
- 资源: 4701
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功