I'm unable to set the background color when the toggle button is selected. Right now, the buttons work but don't have any specific color when one is selected. I want to have a default color to the Btn 1 and if the user selects any other button, that button should get the default color.
<Grid container direction='column'>
<ToggleButtonGroup
value={title}
exclusive
size='small'
>
<ToggleButton onClick={this.handleOnClick}>
Btn 1
</ToggleButton>
<ToggleButton onClick={this.handleOnClick}>
Btn 2
</ToggleButton>
<ToggleButton onClick={this.handleOnClick}>
Btn 3
</ToggleButton>
</ToggleButtonGroup>
</Grid>