primefaces / primefaces/primereact
Export Paginator's additional interfaces
Nobody has claimed this yet.
- Dominant language
- CSS
- Stars
- 8.3k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
We're using PrimeReact Paginator, and would like to have additional typed methods to structure our code. Unfortunately, many of the used interfaces are not exported, for example PaginatorFirstPageLinkOptions, PaginatorPrevPageLinkOptions, PaginatorPageChangeEvent or PaginatorRowsPerPageDropdownOptions.
But we would like to type our methods to ensure type safety.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the PrimeReact Paginator component and locate the declarations for PaginatorFirstPageLinkOptions, PaginatorPrevPageLinkOptions, PaginatorPageChangeEvent, and PaginatorRowsPerPageDropdownOptions. Export the requested interfaces so consumers can import them and use them to type their methods.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 72/100