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 Link from '../../Atoms/Links/Link';
import { screenSize } from '../../Tools/interpolation';
var Wrapper =
/*#__PURE__*/
styled(Link).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"], screenSize('sm'));

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

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

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