@lifi/widget
Version:
LI.FI Widget for cross-chain bridging and swapping. It will drive your multi-chain strategy and attract new users from everywhere.
18 lines • 651 B
JavaScript
import { Container, styled } from '@mui/material';
export const PageContainer = styled(Container, {
shouldForwardProp: (prop) => !['halfGutters', 'topGutters', 'bottomGutters'].includes(prop),
})(({ theme, halfGutters, topGutters, bottomGutters }) => ({
display: 'flex',
flexDirection: 'column',
flex: 1,
padding: theme.spacing(topGutters ? 1 : 0, halfGutters ? 1.5 : 3, bottomGutters ? 3 : 0, halfGutters ? 1.5 : 3),
variants: [
{
props: ({ disableGutters }) => disableGutters,
style: {
padding: 0,
},
},
],
}));
//# sourceMappingURL=PageContainer.js.map