react-responsive-pagination
react-responsive-pagination copied to clipboard
[Question]How can I add different styles to each item in the list
I need to change the styles of the list items differently for each. Is there any way I can achieve this? Or is there a way to render an element inside a list element?
Do you mean that the numbers would have different styles to each other?
At the moment you may be able to create css classes with nth-child, to set different styles.
A future version will allow full control of rendering of all elements but that won't be available for a few months unfortunately.