How to add click to active or inactive class using next.js/react.js

Published --