title: How to change color when Item of paginate is active in ReactJS?
body: <p>I am rendering a list of elements and doing pagination, each page of my list contains 3 elements.</p>
  <p>Pagination is working correctly. But I don't know how to change the color of the active pagination item so that the user knows which page it is on.</p>
  <p>Can you tell me how I can do that?</p>
  <p>Here's my code I put into <a href="https://codesandbox.io/s/pagination-active-3ztgt?file=/src/App.js" rel="nofollow noreferrer">codesandbox</a></p>
  <p><a href="https://i.stack.imgur.com/yw9wQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yw9wQ.png" alt="enter image description here" /></a></p>
  <p>For example, in the photo above, the active page is 2. But there is no indication of that.</p>
  <p>Thank you in advance.</p>