import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
//  strict
import PropTypes from 'prop-types';
import * as React from 'react';
import styled from 'styled-components';
import { prop, screenSize } from '../../Tools/interpolation';
var Wrapper =
/*#__PURE__*/
styled.div.withConfig({
  componentId: "p5q4id-0"
})(["\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n  align-items: center;\n  width: 100%;\n  height: ", ";\n  margin: 0 auto;\n\n  @media (min-width: ", ") {\n    width: 75rem;\n  }\n"], prop('height'), screenSize('lg'));

var Container = function Container(_ref) {
  var children = _ref.children,
      rest = _objectWithoutProperties(_ref, ["children"]);

  return React.createElement(Wrapper, rest, children);
};

Container.propTypes = process.env.NODE_ENV !== "production" ? {
  children: PropTypes.node,
  height: PropTypes.string
} : {};
Container.defaultProps = {
  height: 'auto'
};
export default Container;