I am having some trouble while creating my pagination page using react-bootstrap. I am trying to apply condition for active but it is not working.
<Pagination.Item
// active={x+1===page}
active={false}
>
{x+1}
</Pagination.Item>
All pagination status is showing active on UI.
How can I apply condition on active.
New contributor
Surabhi Verma is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.