"use strict";var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;exports.__esModule = true;exports.PasswordInputIcon = void 0;var _react = _interopRequireDefault(require("react"));


var _ClosedIcon = require("./ClosedIcon");
var _OpenedIcon = require("./OpenedIcon");



var PasswordInputIcon = exports.PasswordInputIcon = function PasswordInputIcon(_ref) {var visible = _ref.visible,size = _ref.size;
  if (visible) {
    return /*#__PURE__*/_react.default.createElement(_ClosedIcon.ClosedIcon, { size: size });
  }

  return /*#__PURE__*/_react.default.createElement(_OpenedIcon.OpenedIcon, { size: size });
};