UNPKG

@scaleflex/icons

Version:
25 lines 2.23 kB
import _extends from "@babel/runtime/helpers/extends"; import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties"; var _excluded = ["color", "size", "ref"]; import React from 'react'; export var Key = function Key(_ref) { var _ref$color = _ref.color, color = _ref$color === void 0 ? 'currentColor' : _ref$color, _ref$size = _ref.size, size = _ref$size === void 0 ? 14 : _ref$size, ref = _ref.ref, rest = _objectWithoutProperties(_ref, _excluded); return /*#__PURE__*/React.createElement("svg", _extends({ "data-icon-name": "Key", ref: ref, width: size, height: size, viewBox: "0 0 50 50", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, rest), /*#__PURE__*/React.createElement("path", { d: "M0.610409 41.3164C0.634268 41.0055 0.773213 40.7066 1.00111 40.4836L20.6927 20.792C19.918 18.9669 19.509 16.9904 19.509 14.9478C19.509 10.9559 21.0661 7.19995 23.8841 4.37488C26.7062 1.55543 30.4595 0 34.4537 0C38.4498 0 42.1966 1.55595 45.0233 4.37716C50.8553 10.2061 50.8565 19.6869 45.0241 25.5153C42.1977 28.3424 38.4496 29.8994 34.4556 29.8994C32.4125 29.8994 30.4409 29.4872 28.6114 28.7114L22.1424 35.1854C21.8732 35.4512 21.5183 35.5922 21.1354 35.5798L17.6099 35.4561L17.725 38.9902C17.7359 39.3631 17.6013 39.7259 17.3312 39.9913C17.0708 40.2566 16.705 40.4008 16.3338 40.3857L12.7954 40.2648L12.9224 43.7951C12.9335 44.1683 12.7901 44.5318 12.5298 44.7972C12.2607 45.0625 11.9472 45.2051 11.5228 45.1921L7.99316 45.0721L8.11141 48.603C8.13211 48.9946 7.9672 49.3712 7.6872 49.6386C7.42896 49.8735 7.10668 50 6.76703 50C6.71826 50 6.66826 49.9979 6.61843 49.9935L1.20602 49.3925C0.474618 49.3126 -0.058007 48.66 0.00479956 47.927L0.610409 41.3164ZM36.2591 13.1429C37.9215 14.8036 40.6092 14.8036 42.2682 13.1429C43.9296 11.4817 43.9296 8.7945 42.2682 7.13486C40.6092 5.47522 37.9224 5.47365 36.2591 7.13434C34.6 8.7938 34.601 11.4827 36.2591 13.1429ZM5.23055 41.7673C5.42809 41.9648 5.69283 42.0634 5.95002 42.0634C6.20721 42.0634 6.47212 41.9646 6.66949 41.7673L23.4239 25.0079C22.9574 24.5049 22.5332 23.9754 22.148 23.4188L5.23073 40.3327C4.83564 40.7278 4.83564 41.3723 5.23055 41.7673Z", fill: color })); }; export default Key;