@roo-ui/components
Version:
30 lines (18 loc) • 1.48 kB
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
var _templateObject = _taggedTemplateLiteral(['\n display: flex;\n ', '\n ', '\n ', '\n ', '\n ', '\n ', '\n'], ['\n display: flex;\n ', '\n ', '\n ', '\n ', '\n ', '\n ', '\n']);
var _styledSystem = require('styled-system');
var _Box = require('../Box');
var _Box2 = _interopRequireDefault(_Box);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
var flexFlow = (0, _styledSystem.style)({
prop: 'flexFlow',
cssProperty: 'flexFlow'
});
var Flex = _Box2.default.extend(_templateObject, _styledSystem.alignItems, _styledSystem.alignContent, _styledSystem.justifyContent, _styledSystem.flexWrap, _styledSystem.flexDirection, flexFlow);
Flex.propTypes = _extends({}, _Box2.default.propTypes, _styledSystem.alignItems.propTypes, _styledSystem.alignContent.propTypes, _styledSystem.justifyContent.propTypes, _styledSystem.flexWrap.propTypes, _styledSystem.flexDirection.propTypes, flexFlow.propTypes);
exports.default = Flex;
;