react-component / react-component/pagination

Missing support for buildOptionText and sizeChangerRender in Pagination component

Open
#653 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
674
Forks
333
Avg merge
12m
Merged PRs (30d)
1

Description

Image
既然不支持这个buildOptionText字段,第146行这个 buildOptionText || 这个逻辑岂不是无用的?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the Pagination component around line 146 and compare the handling of buildOptionText and sizeChangerRender. Clarify the intended behavior for both options from the existing component API, then add or update coverage for them; done means both options are supported rather than ignored.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.