@ant-design/web3-icons
Version:
A collection of Web3 icons.
101 lines (100 loc) • 6.94 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.IqnColorful = 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 _id3 = (0, _react.useUniqueInlineId)();
const _id2 = (0, _react.useUniqueInlineId)();
const _id = (0, _react.useUniqueInlineId)();
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
...props,
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("defs", {
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id,
x1: "4.94",
y1: "29.33",
x2: "24.49",
y2: "63.19",
gradientTransform: "matrix(1 0 0 -1 0 100.1)",
gradientUnits: "userSpaceOnUse",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#00dad9"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#095fa7"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id2,
x1: "30.7",
y1: "94.14",
x2: "53.24",
y2: "55.1",
gradientTransform: "matrix(1 0 0 -1 0 100.1)",
gradientUnits: "userSpaceOnUse",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#0bf7df"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#0095ff"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id3,
x1: "94.84",
y1: "64.66",
x2: "14.39",
y2: "8.33",
gradientTransform: "matrix(1 0 0 -1 0 100.1)",
gradientUnits: "userSpaceOnUse",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#00fcc6"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#0095ff"
})]
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M.1 30.55a8.59 8.59 0 0 1 10.3-1.5l35.2 20-35.3 20A8.61 8.61 0 0 1 0 67.55c.1 0 .1-39.4.1-37Z",
fill: `url(#${_id})`
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M83.9 20.35a8.12 8.12 0 0 1-3.9 9.2l-34.4 19.5-35.3-20A8.61 8.61 0 0 0 0 30.55a12.12 12.12 0 0 1 6.3-10.5l32.4-18.4a12.66 12.66 0 0 1 12.5 0Z",
fill: `url(#${_id2})`
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M10.3 69.05 80 29.55c3.3-1.9 4.1-5.7 3.2-9.2 3.7 2.2 5.2 6.2 5.2 10.4v36.7c0 4.4-1.7 8.4-5.5 10.6l-32 18.3a12.29 12.29 0 0 1-12.3 0L6.2 78.05A12.45 12.45 0 0 1 0 67.55a8.61 8.61 0 0 0 10.3 1.5Z",
fill: `url(#${_id3})`
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 88.4 98"
};
/** */
const IqnColorful = exports.IqnColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(_antd.ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-iqn-colorful');
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, {
...props,
className: (0, _classnames.default)(prefixCls, props.className),
ref: ref,
component: (0, _utils.eraseDefaultProps)(SVGComponent)
});
});
IqnColorful.displayName = 'IqnColorful';