I have a Dialog containing three buttons as shown below:
https://i.stack.imgur.com/T6o35.png
Here is the JSX code:
<DialogActions classes={{ root: this.props.classes.dialogActionsRoot }} >
<Button classes={{ root: this.props.classes.buttonRoot }} size="small" onClick={() => this.props.handleDialogClose()} >
Clear
</Button>
<Button classes={{ root: this.props.classes.buttonRoot }} size="small" onClick={() => this.props.handleDialogClose()} >
Cancel
</Button>
<Button classes={{ root: this.props.classes.buttonRoot }} size="small" onClick={() => this.props.handleDialogClose(this.state.selectedValue)} >
Select
</Button>
</DialogActions>
The 'buttonRoot' style controls the button coloring. How can I align the 'Clear' button to the left within the dialog? It appears that each button is contained within a div with a MuiDialogActions-action class.