primefaces / primefaces/primereact
Paginator: The possibility of wrap the subcomponents inside a div.
Nobody has claimed this yet.
- Dominant language
- CSS
- Stars
- 8.3k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the feature you would like to see added
I would like to wrap the FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink, so I can pass justify-content="space-between" to the paginator wrapper.
To achieve this layout:
Is your feature request related to a problem?
No response
Describe the solution you'd like
I thought of using some marker to define which subcomponents should be wrapped, maybe parentheses ( )
<Paginator layout="CurrentPageReport ( FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink ) RowsPerPageDropdown" />
Describe alternatives you have considered
No response
Additional context
No response
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
Begin with the Paginator component's layout prop and the listed link subcomponents, then trace how layout tokens are parsed and rendered. Verify that grouping the links with the requested parentheses syntax produces a wrapper that accepts justify-content="space-between".
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, react
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100