UNPKG

@comfortdelgro/compass-icons

Version:
77 lines (75 loc) 3.83 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "default", { enumerable: true, get: function() { return _default; } }); const _react = /*#__PURE__*/ _interop_require_wildcard(require("react")); function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } function _interop_require_wildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for(var key in obj){ if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } const Sparkle = (props, ref)=>/*#__PURE__*/ _react.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 32 32", ref: ref, ...props }, /*#__PURE__*/ _react.createElement("g", { fill: "currentColor" }, /*#__PURE__*/ _react.createElement("g", { clipPath: "url(#clip0_2266_76187)" }, /*#__PURE__*/ _react.createElement("path", { d: "M16.0844 12.7797L21.4281 15.25C21.6953 15.3719 21.8641 15.6391 21.8641 15.9344C21.8641 16.225 21.6953 16.4922 21.4281 16.6141L16.0844 19.0844L13.6141 24.4281C13.4922 24.6953 13.225 24.8641 12.9344 24.8641C12.6391 24.8641 12.3719 24.6953 12.25 24.4281L9.77969 19.0844L4.43556 16.6141C4.17002 16.4922 4 16.225 4 15.9344C4 15.6391 4.17002 15.3719 4.43556 15.25L9.77969 12.7797L12.25 7.43547C12.3719 7.17016 12.6391 7 12.9344 7C13.225 7 13.4922 7.17016 13.6141 7.43547L16.0844 12.7797Z" }), /*#__PURE__*/ _react.createElement("path", { opacity: 0.4, d: "M19.3516 7.99328L22 7L22.9938 4.35114C23.0734 4.13992 23.275 4 23.5 4C23.725 4 23.9266 4.13992 24.0062 4.35114L25 7L27.6484 7.99328C27.8594 8.0725 28 8.27453 28 8.5C28 8.725 27.8594 8.92656 27.6484 9.00625L25 10L24.0062 12.6484C23.9266 12.8594 23.725 13 23.5 13C23.275 13 23.0734 12.8594 22.9938 12.6484L22 10L19.3516 9.00625C19.0984 8.92656 19 8.725 19 8.5C19 8.27453 19.0984 8.0725 19.3516 7.99328ZM19.3516 22.9938L22 22L22.9938 19.3516C23.0734 19.0984 23.275 19 23.5 19C23.725 19 23.9266 19.0984 24.0062 19.3516L25 22L27.6484 22.9938C27.8594 23.0734 28 23.275 28 23.5C28 23.725 27.8594 23.9266 27.6484 24.0062L25 25L24.0062 27.6484C23.9266 27.8594 23.725 28 23.5 28C23.275 28 23.0734 27.8594 22.9938 27.6484L22 25L19.3516 24.0062C19.0984 23.9266 19 23.725 19 23.5C19 23.275 19.0984 23.0734 19.3516 22.9938Z" })), /*#__PURE__*/ _react.createElement("defs", null, /*#__PURE__*/ _react.createElement("clipPath", { id: "clip0_2266_76187" }, /*#__PURE__*/ _react.createElement("rect", { width: 24, height: 24, fill: "white", transform: "translate(4 4)" }))))); const ForwardRef = /*#__PURE__*/ (0, _react.forwardRef)(Sparkle); const _default = ForwardRef;