I am new to react. I have 3 buttons in my components and I am applying a class active based on the selection.(i.e button that is clicked ).
Code is,
im