@stakefish/ui
Version:
<div align="center"> <a href="https://www.npmjs.com/package/@stakefish/ui"><img src="https://gateway.pinata.cloud/ipfs/QmbZL1ceA8Yiz2pKALTg919jYx141DPUGegC9L4XpyayW5" width="300" /></a> </div>
28 lines (25 loc) • 874 B
JavaScript
import { a as __rest, _ as __assign } from '../tslib.es6-35932c2c.js';
import { jsx } from 'react/jsx-runtime';
import { styled } from '@mui/material/styles';
import MuiBox from '@mui/material/Box';
var StyledContainer = styled(MuiBox)(function (_a) {
var _b;
var theme = _a.theme;
return (_b = {
maxWidth: 1220,
margin: "0 auto",
paddingLeft: theme.spacing(3),
paddingRight: theme.spacing(3),
boxSizing: "content-box"
},
_b[theme.breakpoints.down("sm")] = {
paddingLeft: 20,
paddingRight: 20
},
_b);
});
var Container = function (_a) {
var children = _a.children, props = __rest(_a, ["children"]);
return jsx(StyledContainer, __assign({}, props, { children: children }), void 0);
};
export { Container as default };