add styles for error button loading state
This commit is contained in:
1 parent
dc3fc7628a
commit
6cedf992a7
1 file changed
+12
@@ -53,6 +53,18 @@ const baseTheme = (palette) => ({
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
props: (props) => props.color === "error",
|
||||
style: {
|
||||
"&.Mui-disabled": {
|
||||
backgroundColor: theme.palette.error.lowContrast,
|
||||
},
|
||||
"& .MuiButton-loadingIndicator": {
|
||||
// styles for error variant loading indicator
|
||||
color: theme.palette.error.contrastText,
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
props: (props) => props.variant === "group",
|
||||
style: {
|
||||
|
||||
Reference in new issue
Block a user