UNPKG

@pathwright/pathicons

Version:

Pathwright icons, synced from Figma to React components

54 lines (51 loc) 4.75 kB
import _defineProperty from '@babel/runtime/helpers/esm/defineProperty'; import _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties'; import React, { useId } from 'react'; import PropTypes from 'prop-types'; import { jsxs, 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 ThumbprintKeyVerticalIcon = /*#__PURE__*/React.forwardRef(function ThumbprintKeyVerticalIcon(props, ref) { var color = props.color, size = props.size, otherProps = _objectWithoutProperties(props, _excluded); var clipPathId = useId(); return /*#__PURE__*/jsxs("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__*/jsxs("g", { clipPath: "url(#".concat(clipPathId, ")"), children: [/*#__PURE__*/jsx("path", { d: "M8 6H5V3C5 2.45 4.55 2 4 2 3.45 2 3 2.45 3 3V16.17C2.32 16.34 1.68 16.66 1.17 17.17.41 17.92 0 18.93 0 20 0 21.07.42 22.07 1.17 22.83 1.93 23.59 2.93 24 4 24 5.07 24 6.07 23.58 6.83 22.83 7.59 22.08 8 21.07 8 20 8 18.93 7.58 17.93 6.83 17.17 6.32 16.66 5.68 16.34 5 16.17V8H8C8.55 8 9 7.55 9 7 9 6.45 8.55 6 8 6ZM6 20C6 20.53 5.79 21.04 5.41 21.41 4.65 22.17 3.34 22.17 2.58 21.41 2.2 21.03 1.99 20.53 1.99 20 1.99 19.47 2.2 18.96 2.58 18.59 2.96 18.22 3.46 18 3.99 18 4.52 18 5.03 18.21 5.4 18.59 5.77 18.97 5.99 19.47 5.99 20H6ZM20.71 3.29C18.65 1.23 15.77 0 13 0 8.51 0 7.24 2.29 7.11 2.55 6.87 3.03 7.06 3.61 7.54 3.87 8.02 4.13 8.62 3.94 8.89 3.47 8.92 3.41 9.77 2 13.01 2 15.22 2 17.63 3.04 19.3 4.71 21.2 6.61 22.01 8.49 22.01 11 22.01 12.78 21.87 17.92 21.87 17.97 21.85 18.52 22.29 18.98 22.84 19H22.87C23.41 19 23.85 18.57 23.87 18.03 23.87 17.82 24.02 12.81 24.02 11 24.02 7.95 23 5.57 20.73 3.29H20.71ZM22 20C21.45 20 21 20.45 21 21 21 21.39 20.58 22 20.29 22.29 19.9 22.68 19.9 23.31 20.29 23.7 20.49 23.9 20.74 23.99 21 23.99 21.26 23.99 21.51 23.89 21.71 23.7 21.84 23.57 23 22.37 23 20.99 23 20.44 22.55 19.99 22 19.99V20Z" }), /*#__PURE__*/jsx("path", { d: "M19.97 8.76C19.84 8.22 19.29 7.9 18.76 8.03 18.22 8.16 17.9 8.71 18.03 9.24 18.93 12.84 18.1 18.56 16.11 22.55 15.86 23.04 16.06 23.64 16.56 23.89 16.7 23.96 16.86 24 17.01 24 17.38 24 17.73 23.8 17.91 23.45 20.13 19.01 21 12.83 19.99 8.76H19.97ZM8 9.99999C7.45 9.99999 7 10.45 7 11V14.15C7 14.4 6.98 14.66 6.94 14.9 6.86 15.44 7.23 15.96 7.77 16.04 7.82 16.04 7.87 16.05 7.93 16.05 8.41 16.05 8.84 15.7 8.92 15.2 8.97 14.85 9 14.5 9 14.14V10.99C9 10.44 8.55 9.98999 8 9.98999V9.99999ZM15.41 6.79997C15.59 6.92997 15.8 6.99997 16 6.99997 16.31 6.99997 16.61 6.85997 16.81 6.58997 17.14 6.14997 17.04 5.51997 16.6 5.18997 15.74 4.55997 14.4 4.16997 13.02 4.15997H13.01C12.46 4.15997 12.02 4.59997 12.01 5.14997 12.01 5.69997 12.45 6.14997 13 6.15997 14.16 6.16997 15.03 6.50997 15.42 6.79997H15.41ZM11 15C10.45 15 10 15.45 10 16 10 16.75 9.72 17.56 9.15 18.47 8.86 18.94 9 19.55 9.47 19.85 9.64 19.95 9.82 20 10 20 10.33 20 10.66 19.83 10.85 19.53 11.63 18.29 12 17.14 12 16 12 15.45 11.55 15 11 15Z" }), /*#__PURE__*/jsx("path", { d: "M13 8C11.56 8 10 9.25 10 12C10 12.55 10.45 13 11 13C11.55 13 12 12.55 12 12C12 10.7 12.52 10 13 10C13.48 10 14 10.7 14 12V15C14 17.27 12.88 21.44 11.55 22.11C11.06 22.36 10.86 22.96 11.1 23.45C11.28 23.8 11.63 24 12 24C12.15 24 12.3 23.97 12.45 23.89C14.98 22.62 16 17.09 16 15V12C16 9.37 14.49 8 13 8Z" })] }), /*#__PURE__*/jsx("defs", { children: /*#__PURE__*/jsx("clipPath", { id: clipPathId, children: /*#__PURE__*/jsx("path", { fill: "white", d: "M0 0H24V24H0z" }) }) })] })); }); ThumbprintKeyVerticalIcon.propTypes = { color: PropTypes.string, size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]) }; ThumbprintKeyVerticalIcon.defaultProps = { color: 'currentColor', size: '24' }; export { ThumbprintKeyVerticalIcon as default }; //# sourceMappingURL=thumbprint-key-vertical.js.map