I work with buttons, and on click i need to change color button.
I have two button: favorite and stats, and onclick i need to change to custom color, for ex favorite is orange, stats blue.
How i can change color onclick?
<div className={classes.fotter_button}>
<button>
<FontAwesomeIcon
icon={faStar}
aria-hidden="true"
/>
</button>
<button>
<FontAwesomeIcon
icon={faChartBar}
aria-hidden="true"
/>
</button>
</div>