I'm attempting to right float the button below using material-ui, but I'm unsure of how to achieve this:
<Grid item xs={2}>
<Button
variant="contained"
color="secondary"
disableElevation
startIcon={(<DeleteOutlineIcon size="0.9rem"/>)}
onClick={() => arrayHelpers.remove(index)}
>
Remove
</Button>}
</Grid>
I'm also uncertain if I need to add padding-left to the button, and I'm hoping for a cleaner solution.
I attempted justify="flex-end"
, but unfortunately, it didn't work as expected.