UNPKG

@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

10 lines 526 B
import { css } from 'styled-components'; import { getStyleFor } from './utils'; export const paddingProps = ({ padding: allPadding, paddingTop, paddingBottom, paddingLeft, paddingRight, theme, }) => css ` ${getStyleFor('padding', allPadding, theme)}; ${getStyleFor('padding-top', paddingTop, theme)}; ${getStyleFor('padding-bottom', paddingBottom, theme)}; ${getStyleFor('padding-left', paddingLeft, theme)}; ${getStyleFor('padding-right', paddingRight, theme)}; `; //# sourceMappingURL=paddingProps.js.map