import React from 'react';
import { ClosedIcon } from "../ClosedIcon";
import { OpenedIcon } from "../OpenedIcon";
export var PasswordInputIcon = function PasswordInputIcon(_ref) {
  var visible = _ref.visible,
    size = _ref.size;
  if (visible) {
    return /*#__PURE__*/React.createElement(ClosedIcon, {
      size: size
    });
  }
  return /*#__PURE__*/React.createElement(OpenedIcon, {
    size: size
  });
};