UNPKG

@icongo/li

Version:
26 lines (25 loc) 1.9 kB
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")["default"]; Object.defineProperty(exports, "__esModule", { value: true }); exports.LIGuiTextWidth = void 0; var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2")); var _jsxRuntime = require("react/jsx-runtime"); var LIGuiTextWidth = function LIGuiTextWidth(props) { return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", (0, _objectSpread2["default"])((0, _objectSpread2["default"])({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", "aria-hidden": "true", viewBox: "0 0 14 14" }, props), {}, { children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", { d: "M10.7 2.52V1H3.268v1.52h2.821v7.758H7.88V2.52h2.822" }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", { fill: "red", d: "M10.868 10.302c.057 0 .157.046.3.14.143.092.28.19.41.295.131.105.273.222.425.35.152.129.238.2.257.214.124.1.186.217.186.35 0 .133-.062.25-.186.35-.019.014-.105.086-.257.214-.152.128-.294.245-.424.35a5.553 5.553 0 0 1-.41.296c-.144.093-.244.139-.3.139a.17.17 0 0 1-.147-.075.455.455 0 0 1-.071-.203 1.747 1.747 0 0 1-.018-.24c0-.073.004-.152.01-.235.008-.083.011-.13.011-.14H3.346l.01.14c.007.083.011.162.011.236 0 .074-.006.153-.018.239a.454.454 0 0 1-.071.203.17.17 0 0 1-.146.075c-.057 0-.157-.046-.3-.14a5.195 5.195 0 0 1-.41-.295c-.131-.105-.273-.222-.425-.35s-.238-.2-.257-.214c-.124-.1-.186-.217-.186-.35 0-.133.062-.25.186-.35.019-.014.105-.086.257-.214.152-.128.294-.245.424-.35.131-.104.268-.203.41-.296.144-.093.244-.139.3-.139a.17.17 0 0 1 .147.075c.036.05.06.118.071.203.012.086.018.166.018.24 0 .074-.004.152-.01.235-.008.083-.011.13-.011.14h7.308l-.01-.14a2.818 2.818 0 0 1-.011-.235c0-.074.006-.154.018-.24a.453.453 0 0 1 .071-.203.17.17 0 0 1 .146-.075z" })] })); }; exports.LIGuiTextWidth = LIGuiTextWidth;