{"ast":null,"code":"import _objectWithoutProperties from \"@babel/runtime-corejs2/helpers/esm/objectWithoutProperties\";\nimport React from 'react';\nimport styled, { css } from 'styled-components';\nimport { flexWrap, flexDirection, alignItems, justifyContent } from 'styled-system';\nimport { base, themed } from '../Base';\nvar BoxWrapper = styled('div').withConfig({\n  displayName: \"Box__BoxWrapper\",\n  componentId: \"h5ud7-0\"\n})(base, themed('Box'), function (props) {\n  return props.flexBox && css({\n    display: 'flex'\n  }, flexWrap, flexDirection, alignItems, justifyContent, themed('FlexBox'));\n});\n\nvar Box = function Box(_ref) {\n  var children = _ref.children,\n      props = _objectWithoutProperties(_ref, [\"children\"]);\n\n  return React.createElement(BoxWrapper, props, children);\n};\n\nexport default Box;\nBox.defaultProps = {\n  as: 'div'\n};","map":null,"metadata":{},"sourceType":"module"}