feat: fixing table

This commit is contained in:
Caio Cabral committed 2025-01-09 12:19:28 -05:00
1 parent 7686b1ecf5
commit 07641a2bd8
7 files changed
+47 -17

No files matched your search

+8
View File
@@ -41,6 +41,7 @@ const baseTheme = (palette) => ({
defaultProps: {
disableRipple: true,
},
styleOverrides: {
root: ({ theme }) => ({
variants: [
@@ -61,6 +62,13 @@ const baseTheme = (palette) => ({
backgroundColor: theme.palette.secondary.main,
},
},
/* {
props: (props) => props.variant === "contained",
style: {
backgroundColor: `${theme.palette.accent.main} !important`,
},
}, */
{
props: (props) =>
props.variant === "contained" && props.color === "secondary",