react-component / react-component/pagination

How to add custom page size select?

Open
#284 2 comments 5 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

I need to add custom page select. I don't wanna use rc-select. Any other way to add page size selector? I've tried to add mine custom select component selectComponentClass={MyCustomSelect} but it doesn't work.

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 reading the pagination API and the implementation of selectComponentClass, then reproduce the reported MyCustomSelect case. Determine whether a custom page-size selector is supported and what prevents this usage from working; done means the supported behavior or limitation is clear and covered by an appropriate test or documentation update.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.