GovTech interview question

Make a button that increase and decrease with react.