@pathwright/pathicons
Version:
Pathwright icons, synced from Figma to React components
40 lines (37 loc) • 2.84 kB
JavaScript
import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
import _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties';
import React from 'react';
import PropTypes from 'prop-types';
import { jsx } from 'react/jsx-runtime';
var _excluded = ["color", "size"];
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
var PasswordIcon = /*#__PURE__*/React.forwardRef(function PasswordIcon(props, ref) {
var color = props.color,
size = props.size,
otherProps = _objectWithoutProperties(props, _excluded);
return /*#__PURE__*/jsx("svg", _objectSpread(_objectSpread({
ref: ref,
xmlns: "http://www.w3.org/2000/svg",
width: size,
height: size,
viewBox: "0 0 24 24",
fill: color
}, otherProps), {}, {
children: /*#__PURE__*/jsx("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M3 9C2.44772 9 2 9.44772 2 10 2 10.5523 2.44772 11 3 11 3.55228 11 4 10.5523 4 10 4 9.44772 3.55228 9 3 9ZM0 10C0 8.34315 1.34315 7 3 7 4.65685 7 6 8.34315 6 10 6 11.6569 4.65685 13 3 13 1.34315 13 0 11.6569 0 10ZM12 9C11.4477 9 11 9.44772 11 10 11 10.5523 11.4477 11 12 11 12.5523 11 13 10.5523 13 10 13 9.44772 12.5523 9 12 9ZM9 10C9 8.34315 10.3431 7 12 7 13.6569 7 15 8.34315 15 10 15 11.6569 13.6569 13 12 13 10.3431 13 9 11.6569 9 10ZM21 9C20.4477 9 20 9.44772 20 10 20 10.5523 20.4477 11 21 11 21.5523 11 22 10.5523 22 10 22 9.44772 21.5523 9 21 9ZM18 10C18 8.34315 19.3431 7 21 7 22.6569 7 24 8.34315 24 10 24 11.6569 22.6569 13 21 13 19.3431 13 18 11.6569 18 10ZM0 16C0 15.4477.447715 15 1 15H5C5.55228 15 6 15.4477 6 16 6 16.5523 5.55228 17 5 17H1C.447715 17 0 16.5523 0 16ZM9 16C9 15.4477 9.44772 15 10 15H14C14.5523 15 15 15.4477 15 16 15 16.5523 14.5523 17 14 17H10C9.44772 17 9 16.5523 9 16ZM18 16C18 15.4477 18.4477 15 19 15H23C23.5523 15 24 15.4477 24 16 24 16.5523 23.5523 17 23 17H19C18.4477 17 18 16.5523 18 16Z"
})
}));
});
PasswordIcon.propTypes = {
color: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
};
PasswordIcon.defaultProps = {
color: 'currentColor',
size: '24'
};
export { PasswordIcon as default };
//# sourceMappingURL=password.js.map