styled-bootstrap-grid
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -13,2 +13,6 @@ 'use strict'; | ||
var _propTypes = require('prop-types'); | ||
var _propTypes2 = _interopRequireDefault(_propTypes); | ||
var _buildProps = require('./utils/buildProps'); | ||
@@ -108,6 +112,6 @@ | ||
var stringOrNumberReactPropType = _react2.default.PropTypes.oneOfType([_react2.default.PropTypes.string, _react2.default.PropTypes.number]).isRequired; | ||
var stringOrNumberReactPropType = _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.number]).isRequired; | ||
col.propTypes = { | ||
children: _react2.default.PropTypes.any.isRequired, | ||
children: _propTypes2.default.any.isRequired, | ||
sm: stringOrNumberReactPropType, | ||
@@ -114,0 +118,0 @@ md: stringOrNumberReactPropType, |
@@ -13,2 +13,6 @@ 'use strict'; | ||
var _propTypes = require('prop-types'); | ||
var _propTypes2 = _interopRequireDefault(_propTypes); | ||
var _buildProps = require('./utils/buildProps'); | ||
@@ -46,4 +50,4 @@ | ||
container.propTypes = { | ||
children: _react2.default.PropTypes.any, | ||
fluid: _react2.default.PropTypes.bool.isRequired | ||
children: _propTypes2.default.any, | ||
fluid: _propTypes2.default.bool.isRequired | ||
}; | ||
@@ -50,0 +54,0 @@ |
@@ -13,2 +13,6 @@ 'use strict'; | ||
var _propTypes = require('prop-types'); | ||
var _propTypes2 = _interopRequireDefault(_propTypes); | ||
var _buildProps = require('./utils/buildProps'); | ||
@@ -40,3 +44,3 @@ | ||
row.propTypes = { | ||
children: _react2.default.PropTypes.any | ||
children: _propTypes2.default.any | ||
}; | ||
@@ -43,0 +47,0 @@ |
{ | ||
"name": "styled-bootstrap-grid", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "bootstrap grid system using styled components", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
import React from 'react'; | ||
import PropTypes from 'prop-types'; | ||
@@ -110,9 +111,9 @@ import buildProps from './utils/buildProps'; | ||
const stringOrNumberReactPropType = | ||
React.PropTypes.oneOfType([ | ||
React.PropTypes.string, | ||
React.PropTypes.number, | ||
PropTypes.oneOfType([ | ||
PropTypes.string, | ||
PropTypes.number, | ||
]).isRequired; | ||
col.propTypes = { | ||
children: React.PropTypes.any.isRequired, | ||
children: PropTypes.any.isRequired, | ||
sm: stringOrNumberReactPropType, | ||
@@ -119,0 +120,0 @@ md: stringOrNumberReactPropType, |
import React from 'react'; | ||
import PropTypes from 'prop-types'; | ||
@@ -23,4 +24,4 @@ import buildProps from './utils/buildProps'; | ||
container.propTypes = { | ||
children: React.PropTypes.any, | ||
fluid: React.PropTypes.bool.isRequired, | ||
children: PropTypes.any, | ||
fluid: PropTypes.bool.isRequired, | ||
}; | ||
@@ -27,0 +28,0 @@ |
import React from 'react'; | ||
import PropTypes from 'prop-types'; | ||
@@ -24,3 +25,3 @@ import buildProps from './utils/buildProps'; | ||
row.propTypes = { | ||
children: React.PropTypes.any, | ||
children: PropTypes.any, | ||
}; | ||
@@ -27,0 +28,0 @@ |
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
958
39551