UNPKG

@cpmech/iricons

Version:
33 lines (32 loc) 1.81 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.IconPrism = void 0; var jsx_runtime_1 = require("react/jsx-runtime"); var IconPrism = 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.jsx)("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", { d: "M487.83 319.44L295.63 36.88a48 48 0 00-79.26 0L24.17 319.44a47.1 47.1 0 0016.93 68.13l192.2 102.75a48.05 48.05 0 0045.4 0l192.2-102.75a47.1 47.1 0 0016.93-68.13zm-431.26 41a16.12 16.12 0 01-8-10.38 16.8 16.8 0 012.37-13.62L232.66 69.26c2.18-3.21 7.34-1.72 7.34 2.13v374c0 5.9-6.54 9.63-11.87 6.78z", fill: "currentColor" }, void 0) }), void 0) }), void 0) }), void 0)); }; exports.IconPrism = IconPrism;