@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 • 768 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.paddingProps = void 0;
const styled_components_1 = require("styled-components");
const utils_1 = require("./utils");
const paddingProps = ({ padding: allPadding, paddingTop, paddingBottom, paddingLeft, paddingRight, theme, }) => (0, styled_components_1.css) `
${(0, utils_1.getStyleFor)('padding', allPadding, theme)};
${(0, utils_1.getStyleFor)('padding-top', paddingTop, theme)};
${(0, utils_1.getStyleFor)('padding-bottom', paddingBottom, theme)};
${(0, utils_1.getStyleFor)('padding-left', paddingLeft, theme)};
${(0, utils_1.getStyleFor)('padding-right', paddingRight, theme)};
`;
exports.paddingProps = paddingProps;
//# sourceMappingURL=paddingProps.js.map