I am using the ButtonToolBar react component with three buttons. I want only the clicked button to change colour but nothing happens when the button is clicked. This is my code below:
'''
<ButtonToolbar>
<Button
id="todayButton"
appearance="ghost"
onClick={this.handleTodayButtonClick}
name="todayButton"
>
Today
</Button>
<Button
id = "weekButton"
appearance="ghost"
onClick={this.handleWeekButtonClick}
name="weekButton"
>
This Week
</Button>
<Button
id = "monthButton"
appearance="ghost"
onClick={this.handleMonthButtonClick}
name="monthButton"
>
This Month
</Button>
</ButtonToolbar>
'''