@gannochenko/ui.styled-components
Version:
<!-- PROJECT SHIELDS --> <!-- *** Reference links are enclosed in brackets [ ] instead of parentheses ( ). *** See the bottom of this document for the declaration of the reference variables *** for contributors-url, forks-url, etc. This is an optional, co
14 lines (13 loc) • 463 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.gutter = void 0;
const gutter = (x, y) => `
& > * {
${x !== undefined ? `margin-bottom: ${x};` : ''};
${y !== undefined ? `margin-right: ${y};` : ''}
}
${x !== undefined ? `margin-bottom: -${x};` : ''}
${y !== undefined ? `margin-right: -${y};` : ''}
`;
exports.gutter = gutter;
//# sourceMappingURL=gutter.js.map