react-component / pagination

React Pagination
https://pagination-react-component.vercel.app/
MIT License
661 stars 329 forks source link

fix: showTotal should work on simple mode #433

Closed KevinBrother closed 1 year ago

KevinBrother commented 2 years ago

simple 支持 showTotal 的配置选项

vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
pagination ✅ Ready (Inspect) Visit Preview Aug 21, 2022 at 9:52AM (UTC)
yoyo837 commented 2 years ago

设计好像就是simple不展示total,这是符合设计预期的。

codecov[bot] commented 2 years ago

Codecov Report

Merging #433 (448e5ae) into master (4d65a3d) will decrease coverage by 0.02%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #433      +/-   ##
==========================================
- Coverage   93.00%   92.98%   -0.03%     
==========================================
  Files           3        3              
  Lines         343      342       -1     
  Branches      120      121       +1     
==========================================
- Hits          319      318       -1     
  Misses         24       24              
Impacted Files Coverage Δ
src/Pagination.jsx 91.82% <100.00%> (-0.04%) :arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more