styled-system
Advanced tools
Comparing version 2.2.2 to 2.2.3
@@ -148,5 +148,5 @@ 'use strict'; | ||
var ratio = exports.ratio = function ratio(props) { | ||
return (0, _extends3.default)({ | ||
return props.ratio ? (0, _extends3.default)({ | ||
height: 0 | ||
}, ratioPadding(props)); | ||
}, ratioPadding(props)) : null; | ||
}; | ||
@@ -153,0 +153,0 @@ ratio.propTypes = (0, _extends3.default)({}, ratioPadding.propTypes); |
{ | ||
"name": "styled-system", | ||
"version": "2.2.2", | ||
"version": "2.2.3", | ||
"description": "Design system utilities for styled-components, glamorous, and other css-in-js libraries", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
83178