UNPKG

@cpmech/iricons

Version:
33 lines (32 loc) 2 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.IconEye = void 0; var jsx_runtime_1 = require("react/jsx-runtime"); var IconEye = 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: "256", r: "64", fill: "currentColor" }, void 0), (0, jsx_runtime_1.jsx)("path", { d: "M490.84 238.6c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.66 96c-42.52 0-84.33 12.15-124.27 36.11-40.73 24.43-77.63 60.12-109.68 106.07a31.92 31.92 0 00-.64 35.54c26.41 41.33 60.4 76.14 98.28 100.65C162 402 207.9 416 255.66 416c46.71 0 93.81-14.43 136.2-41.72 38.46-24.77 72.72-59.66 99.08-100.92a32.2 32.2 0 00-.1-34.76zM256 352a96 96 0 1196-96 96.11 96.11 0 01-96 96z", fill: "currentColor" }, void 0)] }), void 0) }), void 0) }), void 0)); }; exports.IconEye = IconEye;