Skip to content

Conversation

@devmuhnnad
Copy link
Contributor

@devmuhnnad devmuhnnad commented Jun 21, 2023

This fixes #5950

When using Bootstrap Pagination, There is an incomplete API to allow adding custom styles to the <Component> inside the <PageItem>. there is no className or style prop that is passed to the to allow for custom styles to be applied, so The developer can't change the color of the <a> tag inside of the <PageItem> for example!

I have solved the issue by creating a new two props ( innerStyle and innerClassName ), they are passed to the <Component> inside of <PageItem>

Thanks.

PART OF GTC OPEN SOURCE INTIATIVE

@devmuhnnad
Copy link
Contributor Author

Great suggestion, it's done.

@kyletsang kyletsang merged commit cc8efc3 into react-bootstrap:master Jun 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to add custom styles to PageItem Component

2 participants