So I wanted to add a new colour to my buttons as states in the docs here: https://v4.mui.com/customization/palette/#adding-new-colors
But it seems that is failing and throwing me this error:
Failed prop type: Invalid prop
color
of valuetertiary
supplied toForwardRef(Button)
, expected one of ["default","inherit","primary","secondary"].
CodeSandbox: https://codesandbox.io/s/material-demo-forked-cxhi4?file=/demo.js
This may be a bug or bad documentation maybe?