UNPKG

@cpmech/iricons

Version:
33 lines (32 loc) 2.27 kB
"use strict"; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { s = arguments[i]; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; } return t; }; return __assign.apply(this, arguments); }; exports.__esModule = true; exports.IconMagnet = void 0; var jsx_runtime_1 = require("react/jsx-runtime"); var IconMagnet = function (_a) { var _b = _a.size, size = _b === void 0 ? '24px' : _b, style = _a.style; return ((0, jsx_runtime_1.jsx)("div", __assign({ style: __assign(__assign({ display: 'inline-flex', alignItems: 'center', justifyContent: 'center' }, style), { height: size, width: size }) }, { children: (0, jsx_runtime_1.jsx)("div", __assign({ style: { position: 'relative', height: 0, width: '100%', padding: 0, paddingBottom: '100%' } }, { children: (0, jsx_runtime_1.jsxs)("svg", __assign({ style: { position: 'absolute', height: '100%', width: '100%', left: 0, top: 0 }, viewBox: "0 0 512 512", xmlns: "http://www.w3.org/2000/svg" }, { children: [(0, jsx_runtime_1.jsx)("path", { stroke: "currentColor", strokeLinecap: "round", strokeMiterlimit: "10", strokeWidth: "32", d: "M191.98 463.79v-48m-101.82 5.82l33.94-33.94m-76.12-67.88h48", fill: "currentColor" }, void 0), (0, jsx_runtime_1.jsx)("path", { d: "M267.56 312.32l-31.11 31.11a16 16 0 000 22.63l45.26 45.25a16 16 0 0022.62 0l31.12-31.11a4 4 0 000-5.66l-62.23-62.22a4 4 0 00-5.66 0zM131.8 176.55l-31.11 31.12a16 16 0 000 22.62l45.25 45.26a16 16 0 0022.63 0l31.11-31.11a4 4 0 000-5.66l-62.22-62.23a4 4 0 00-5.66 0zm297.05-93.27a144 144 0 00-203.71-.06l-65.06 65.05a4 4 0 000 5.66l62.23 62.22a4 4 0 005.66 0l65-65.05a48 48 0 0168.46.59c18.3 18.92 17.47 49.24-1.14 67.85L295.85 284a4 4 0 000 5.66l62.22 62.23a4 4 0 005.66 0l64.08-64.08c56.37-56.34 57.37-148.13 1.04-204.53z", fill: "currentColor" }, void 0)] }), void 0) }), void 0) }), void 0)); }; exports.IconMagnet = IconMagnet;