@ant-design/web3-icons
Version:
A collection of Web3 icons.
114 lines (113 loc) • 6.69 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.ManaCircleColorful = 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)("defs", {
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
x1: "85.355%",
y1: "14.645%",
x2: "14.645%",
y2: "85.355%",
id: _id,
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
stopColor: "#FF2D55",
offset: "0%"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
stopColor: "#FFBC5B",
offset: "100%"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
x1: "49.966%",
y1: "0%",
x2: "49.966%",
y2: "100%",
id: _id2,
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
stopColor: "#A524B3",
offset: "0%"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
stopColor: "#FF2D55",
offset: "100%"
})]
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
fill: "none",
fillRule: "evenodd",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("circle", {
fill: `url(#${_id})`,
cx: "200",
cy: "200",
r: "200"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fill: `url(#${_id2})`,
d: "M125.7 0v150h125z",
transform: "translate(16 130)"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fill: "#FFF",
d: "M16.7 280h125V130z"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M40 320c11.4 15.1 24.9 28.6 40 40h240c15.1-11.4 28.6-24.9 40-40H40z",
fill: "#FC9965"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M80 360c33.4 25.1 75 40 120 40s86.6-14.9 120-40H80z",
fill: "#FF2D55"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fill: `url(#${_id2})`,
d: "M252.3 0v110H344z",
transform: "translate(16 210)"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M268.3 280H16.7c6.2 14.3 14.1 27.7 23.3 40h228.4v-40h-.1z",
fill: "#FFBC5B"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fill: "#FFF",
d: "M176.7 320h91.6V210z"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("circle", {
fill: "#FFC95B",
cx: "268.3",
cy: "130",
r: "50"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("circle", {
fill: "#FFC95B",
cx: "141.7",
cy: "75",
r: "25"
})]
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 400 400"
};
/** */
const ManaCircleColorful = exports.ManaCircleColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(_antd.ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-mana-circle-colorful');
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, {
...props,
className: (0, _classnames.default)(prefixCls, props.className),
ref: ref,
component: (0, _utils.eraseDefaultProps)(SVGComponent)
});
});
ManaCircleColorful.displayName = 'ManaCircleColorful';