When I search about pagination i will get examples only with class components. I have confusion that how can we use Semantic pagination in react functional components (https://react.semantic-ui.com/addons/pagination/)
This is code I tried first
<Pagination defaultActivePage={5} totalPages={10} />
But
in this how to control the pagination current page and how to highlet the active page?????