@teravn/onui
Version:
The React UI component library is based on MUI
27 lines (24 loc) • 734 B
text/typescript
import { OwnerStateThemeType } from './'
const Dialog = () => {
return {
MuiDialog: {
defaultProps: {
container: () => document.getElementById('__next')
},
styleOverrides: {
root: ({ theme }: OwnerStateThemeType) => ({
'& .MuiDialogContent-root': {
padding: theme.spacing(3)
},
'& .MuiDialogTitle-root': {
padding: 0
},
'& .MuiDialogActions-root': {
padding: theme.spacing(4, 3, 3, 3)
}
})
}
}
}
}
export default Dialog