@geist-ui/react
Version:
Modern and minimalist React UI library.
30 lines (28 loc) • 1.12 kB
JavaScript
import React from 'react';
var PasswordIcon = function PasswordIcon(_ref) {
var visible = _ref.visible;
return /*#__PURE__*/React.createElement("svg", {
viewBox: "0 0 24 24",
stroke: "currentColor",
strokeWidth: "1.5",
strokeLinecap: "round",
strokeLinejoin: "round",
fill: "none",
shapeRendering: "geometricPrecision",
style: {
color: 'currentColor'
}
}, !visible ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("path", {
d: "M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"
}), /*#__PURE__*/React.createElement("circle", {
cx: "12",
cy: "12",
r: "3"
})) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("path", {
d: "M17.94 17.94A10.07 10.07 0 0112 20c-7 0-11-8-11-8a18.45 18.45 0 015.06-5.94M9.9 4.24A9.12 9.12 0 0112 4c7 0 11 8 11 8a18.5 18.5 0 01-2.16 3.19m-6.72-1.07a3 3 0 11-4.24-4.24"
}), /*#__PURE__*/React.createElement("path", {
d: "M1 1l22 22"
})));
};
var MemoPasswordIcon = /*#__PURE__*/React.memo(PasswordIcon);
export default MemoPasswordIcon;