Using Material-UI v1:
I want to create multiple buttons with different colors, which will be taken from the Material-UI palette.
Ideally, I would love to have something like:
<Button color="colorFromThePalette">
<Button color={ theme.palette.myColor }>
But I get the following error:
Failed prop type: Invalid prop
colorof valuesomeValuesupplied toButton, expected one of ["default","inherit","primary","accent","contrast"].
What are my options, considering I want to be consistent with the material design palette?