@ant-design/web3-icons
Version:
A collection of Web3 icons.
81 lines (80 loc) • 7.33 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.InjColorful = 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 _id2 = (0, _react.useUniqueInlineId)();
const _id = (0, _react.useUniqueInlineId)();
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
...props,
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id,
gradientUnits: "userSpaceOnUse",
x1: "0",
y1: "182.253",
x2: "400",
y2: "182.253",
gradientTransform: "matrix(1 0 0 -1 0 399.89)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#0082FA"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#00F2FE"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M48.5 69.1C51 66 53.6 63 56.2 60c.1-.1.4-.2.5-.3.2-.3.6-.5.9-.8l.2-.3c1.8-1.7 3.8-3.5 6-5.2 8-6 16.2-10.6 24.9-13.7 28-9.8 59.1-3.8 83.5 19.3 34.1 31.9 31 83.4 3.8 117.6-34.4 51-93.4 122.1-11.7 185.8 14.7 11.5 25.6 20.9 71.9 34.3-30.3 5.6-58.4 3.8-89.6-4.1-22.1-12.5-56.9-39.2-68.7-75.3-17.9-54.7 31.5-136.6 55.3-168.1 32.7-43.6-20.2-90.8-59.3-38.1C53.7 138.6 18 216.3 30.4 274c7.2 32.7 16.9 56.5 55.2 89.3-7.1-4.2-14-8.9-20.7-14.3C-24 266.1-13.7 137.9 48.5 69.1z",
fill: `url(#${_id})`
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id2,
gradientUnits: "userSpaceOnUse",
x1: "0",
y1: "217.527",
x2: "400",
y2: "217.527",
gradientTransform: "matrix(1 0 0 -1 0 399.89)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#0082FA"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#00F2FE"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fill: `url(#${_id2})`,
d: "M351.5 330.9c-2.5 3.1-5.1 6.1-7.7 9.1-.1.1-.4.2-.5.3-.2.3-.6.5-.9.8l-.2.3c-1.8 1.7-3.8 3.5-6 5.1-8 6-16.2 10.6-24.9 13.7-28 9.8-59.1 3.8-83.5-19.3-34.1-31.9-31-83.4-3.8-117.6 34.4-51 93.4-122.1 11.7-185.8C221 26 210.1 16.6 163.8 3.2c30.3-5.6 58.4-3.8 89.6 4.1 22.1 12.5 56.9 39.2 68.7 75.3 17.9 54.7-31.5 136.6-55.3 168.1-32.7 43.6 20.2 90.8 59.3 38.1 20.4-27.5 56.1-105.2 43.7-162.9-7.2-32.7-16.9-56.5-55.2-89.3 7.1 4.2 14 8.9 20.7 14.3 88.7 83 78.4 211.2 16.2 280z"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 400 400",
xmlSpace: "preserve"
};
/** */
const InjColorful = exports.InjColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(_antd.ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-inj-colorful');
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, {
...props,
className: (0, _classnames.default)(prefixCls, props.className),
ref: ref,
component: (0, _utils.eraseDefaultProps)(SVGComponent)
});
});
InjColorful.displayName = 'InjColorful';