@ant-design/web3-icons
Version:
A collection of Web3 icons.
63 lines (62 loc) • 5.27 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.LtoColorful = void 0;
var _react = require("@inline-svg-unique-id/react");
var React = _interopRequireWildcard(require("react"));
var _icons = _interopRequireDefault(require("@ant-design/icons"));
var _antd = require("antd");
var _classnames = _interopRequireDefault(require("classnames"));
var _utils = require("../utils");
var _jsxRuntime = require("react/jsx-runtime");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var SVGComponent = function SVGComponent(props) {
const _id = (0, _react.useUniqueInlineId)();
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
...props,
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("defs", {
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id,
x1: "-845.05",
y1: "493.61",
x2: "-844.22",
y2: "493.61",
gradientTransform: "matrix(11.85 0 0 -10.29 10018.24 5085.24)",
gradientUnits: "userSpaceOnUse",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#7cb7ff"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#ba6df6"
})]
})
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M7.12.1 6 1.22l.23.23a.33.33 0 0 0 .47 0L7.82.33 7.59.1a.33.33 0 0 0-.47 0ZM4.27.1 4 .33l1.17 1.12a.32.32 0 0 0 .46 0l.23-.23L4.73.1a.32.32 0 0 0-.46 0Zm3.91 1.47L6.05 3.7l.43.44a.63.63 0 0 0 .88 0L9.49 2l-.43-.43a.62.62 0 0 0-.87 0Zm-5.39 0L2.36 2l2.13 2.13a.61.61 0 0 0 .88 0l.43-.43-2.13-2.13a.63.63 0 0 0-.88 0Zm2.9-.05-.22.23.46.46.46-.46-.23-.23a.32.32 0 0 0-.46 0Zm4 2.13L6.14 7.19l.71.72a1 1 0 0 0 1.46 0l3.54-3.54-.71-.72a1 1 0 0 0-1.46 0Zm-9 0L0 4.36l3.54 3.55a1 1 0 0 0 1.46 0l.72-.72-3.54-3.54a1 1 0 0 0-1.46 0Zm4.77.62-.43.43.87.87.9-.87-.43-.43a.62.62 0 0 0-.88 0ZM5.2 8.13l-.72.71 1.45 1.45 1.44-1.45-.71-.71a1 1 0 0 0-1.46 0Z",
fill: `url(#${_id})`
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 11.85 10.29"
};
/** */
const LtoColorful = exports.LtoColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(_antd.ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-lto-colorful');
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, {
...props,
className: (0, _classnames.default)(prefixCls, props.className),
ref: ref,
component: (0, _utils.eraseDefaultProps)(SVGComponent)
});
});
LtoColorful.displayName = 'LtoColorful';