import _extends from "@babel/runtime/helpers/esm/extends";
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 Text from '../../Atoms/Typography/Text';
import { screenSize, theme } from '../../Tools/interpolation';
var Wrapper =
/*#__PURE__*/
styled(Text).withConfig({
  componentId: "sc-11zjji7-0"
})(["\n  color: ", ";\n\n  @media (min-width: ", ") {\n    color: ", ";\n  }\n"], theme('navbarDropdownTitleMobileColor'), screenSize('sm'), theme('navbarDropdownTitleColor'));

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

  return React.createElement(Wrapper, _extends({
    size: "1rem",
    weight: 600
  }, rest), children);
};

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