In React JS , If i press that arrow button it should rotate 90deg and the arrow should face down if i again click it, the arrow should come back to normal position and vice-versa. please help me in solving this question. Thanks in advance!