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 { theme } from '../../Tools/interpolation';
var Wrapper =
/*#__PURE__*/
styled.div.withConfig({
  componentId: "sdxbpp-0"
})(["\n  display: flex;\n  flex-direction: row;\n  justify-content: space-between;\n  align-items: center;\n  width: 100%;\n  padding: 1.5rem;\n  box-sizing: border-box;\n  border-bottom: 1px solid ", ";\n"], theme('modalBorderColor'));

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

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

ModalHeader.propTypes = process.env.NODE_ENV !== "production" ? {
  children: PropTypes.node
} : {};
export default ModalHeader;