UNPKG

@cpmech/iricons

Version:
33 lines (32 loc) 1.89 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.IconLocation = void 0; var jsx_runtime_1 = require("react/jsx-runtime"); var IconLocation = 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)("circle", { cx: "256", cy: "192", r: "32", fill: "currentColor" }, void 0), (0, jsx_runtime_1.jsx)("path", { d: "M256 32c-88.22 0-160 68.65-160 153 0 40.17 18.31 93.59 54.42 158.78 29 52.34 62.55 99.67 80 123.22a31.75 31.75 0 0051.22 0c17.42-23.55 51-70.88 80-123.22C397.69 278.61 416 225.19 416 185c0-84.35-71.78-153-160-153zm0 224a64 64 0 1164-64 64.07 64.07 0 01-64 64z", fill: "currentColor" }, void 0)] }), void 0) }), void 0) }), void 0)); }; exports.IconLocation = IconLocation;