diff --git a/src/theme/components/MuiCardActions.tsx b/src/theme/components/MuiCardActions.tsx new file mode 100644 index 00000000..3c54311b --- /dev/null +++ b/src/theme/components/MuiCardActions.tsx @@ -0,0 +1,12 @@ +import spacing from '../spacing'; +import Components from './_components'; + +const MuiCardActions: Components['MuiCardActions'] = { + styleOverrides: { + root: { + padding: spacing(2) + } + } +}; + +export default MuiCardActions; diff --git a/src/theme/components/index.ts b/src/theme/components/index.ts index 276c4e24..7aac3c69 100644 --- a/src/theme/components/index.ts +++ b/src/theme/components/index.ts @@ -2,6 +2,7 @@ import { ThemeOptions } from '@mui/material'; import MuiAccordion from './MuiAccordion'; import MuiButton from './MuiButton'; +import MuiCardActions from './MuiCardActions'; import MuiCheckbox from './MuiCheckbox'; import MuiContainer from './MuiContainer'; import MuiDialog from './MuiDialog'; @@ -25,6 +26,7 @@ import MuiTypography from './MuiTypography'; const components: ThemeOptions['components'] = { MuiAccordion, MuiButton, + MuiCardActions, MuiCheckbox, MuiContainer, MuiDialog,