import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
import PropTypes from 'prop-types';
import * as React from 'react';
import styled from 'styled-components';
import { fontSize, screenSize, theme } from '../../Tools/interpolation';
var Wrapper =
/*#__PURE__*/
styled.span.withConfig({
  componentId: "sc-82znhw-0"
})(["\n  font-family: ", ";\n  font-size: ", ";\n  font-weight: 600;\n  color: ", ";\n  cursor: pointer;\n  display: none;\n\n  @media (min-width: ", ") {\n    display: block;\n  }\n"], theme('fontPrimary'), fontSize('md'), theme('navbarDropdownHeaderColor'), screenSize('sm'));

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

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

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