import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
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: "za1pry-0"
})(["\n  color: ", ";\n\n  @media (min-width: ", ") {\n    color: ", ";\n  }\n"], theme('navbarDropdownDescriptionMobileColor'), screenSize('sm'), theme('navbarDropdownDescriptionColor'));

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

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

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