I am using material-ui with react. I have a simple contained button using
<Button variant='contained' color='primary'> Edit</Button>
However the button does not look like a contained button. As seen in this screenshot here.
Upon further investigation I found out the the .MuiButton-containedPrimary style is being overidden by the .MuiButtonBase-root styling as seen in this screenshot taken from chrome dev tools.
Please can someone let me know how to fix this?