"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 _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));

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 _Icons = require("../../Atoms/Icons");

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

//  strict
var Toggler =
/*#__PURE__*/
(0, _styledComponents.default)(_Icons.FasBars).withConfig({
  componentId: "lhwhle-0"
})(["\n  position: absolute;\n  right: 20px;\n\n  @media (min-width: ", ") {\n    display: none;\n  }\n"], (0, _interpolation.screenSize)('sm'));

var TabMenuToggler = function TabMenuToggler(_ref) {
  var onToggle = _ref.onToggle,
      rest = (0, _objectWithoutProperties2.default)(_ref, ["onToggle"]);
  return React.createElement(Toggler, (0, _extends2.default)({
    onClick: onToggle,
    selected: true,
    size: "20px"
  }, rest));
};

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