"use strict";

var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;

var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));

var _propTypes = _interopRequireDefault(require("prop-types"));

var React = _interopRequireWildcard(require("react"));

var _styledComponents = _interopRequireDefault(require("styled-components"));

var _Link = _interopRequireDefault(require("../../Atoms/Links/Link"));

var _interpolation = require("../../Tools/interpolation");

var Wrapper =
/*#__PURE__*/
(0, _styledComponents.default)(_Link.default).withConfig({
  componentId: "sc-16ueb91-0"
})(["\n  display: flex;\n  flex-direction: column;\n  justify-content: space-between;\n  align-items: flex-start;\n  flex-wrap: nowrap;\n  height: 2.5rem;\n  margin-bottom: 1.5rem;\n  white-space: nowrap;\n  text-decoration: none;\n\n  @media (min-width: ", ") {\n    &:hover span:first-child {\n      text-decoration: underline;\n    }\n  }\n"], (0, _interpolation.screenSize)('sm'));

var NavbarDropdownItem = function NavbarDropdownItem(_ref) {
  var children = _ref.children,
      rest = (0, _objectWithoutProperties2.default)(_ref, ["children"]);
  return React.createElement(Wrapper, rest, children);
};

NavbarDropdownItem.propTypes = process.env.NODE_ENV !== "production" ? {
  children: _propTypes.default.node
} : {};
var _default = NavbarDropdownItem;
exports.default = _default;