@elacity-js/uikit
Version:
React / Material UI Design kit for Elacity project
17 lines (14 loc) • 485 B
JavaScript
import { styled } from '@mui/material/styles';
var DefaultWrapper = styled('div', {
shouldForwardProp: (prop) => !['mt', 'mx'].includes(prop),
})(({ theme, mt, mx }) => ({
padding: theme.spacing(mt || 0, mx || 0, 3),
[theme.breakpoints.down('lg')]: {
padding: theme.spacing(0, 2, 3),
},
[theme.breakpoints.down('sm')]: {
padding: theme.spacing(0, 1, 2),
},
}));
export { DefaultWrapper as default };
//# sourceMappingURL=DefaultWrapper.js.map