@ant-design/web3-icons
Version:
A collection of Web3 icons.
262 lines (261 loc) • 21.8 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.RethCircleColorful = 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 _id8 = (0, _react.useUniqueInlineId)();
const _id7 = (0, _react.useUniqueInlineId)();
const _id6 = (0, _react.useUniqueInlineId)();
const _id5 = (0, _react.useUniqueInlineId)();
const _id4 = (0, _react.useUniqueInlineId)();
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)("g", {
clipPath: `url(#${_id8})`,
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M300 600c165.685 0 300-134.315 300-300S465.685 0 300 0 0 134.315 0 300s134.315 300 300 300Z",
fill: `url(#${_id6})`
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("mask", {
id: _id,
style: {
maskType: "alpha"
},
maskUnits: "userSpaceOnUse",
x: "0",
y: "0",
width: "600",
height: "600",
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M300 600c165.685 0 300-134.315 300-300S465.685 0 300 0 0 134.315 0 300s134.315 300 300 300Z",
fill: `url(#${_id7})`
})
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
mask: `url(#${_id})`,
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
opacity: ".2",
d: "M-10 165c0-6.627 5.373-12 12-12h164c6.627 0 12 5.373 12 12v279c0 6.627-5.373 12-12 12H2c-6.627 0-12-5.373-12-12V165Z",
fill: `url(#${_id2})`
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
opacity: ".2",
d: "M362 407c0-6.627 5.373-12 12-12h214c6.627 0 12 5.373 12 12v104c0 6.627-5.373 12-12 12H374c-6.627 0-12-5.373-12-12V407Z",
fill: "#E74310"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
opacity: ".2",
d: "M501 439c6.627 0 12 5.373 12 12v202c0 6.627-5.373 12-12 12h-79c-6.627 0-12-5.373-12-12V451c0-6.627 5.373-12 12-12h79Z",
fill: "#DF3600"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
opacity: ".1",
d: "M243 195c6.627 0 12 5.373 12 12v161c0 6.627-5.373 12-12 12h-89c-6.627 0-12-5.373-12-12V207c0-6.627 5.373-12 12-12h89Z",
fill: `url(#${_id3})`
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
opacity: ".1",
d: "M57 243c0-6.627 5.373-12 12-12h146c6.627 0 12 5.373 12 12v153c0 6.627-5.373 12-12 12H69c-6.627 0-12-5.373-12-12V243Z",
fill: `url(#${_id4})`
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
opacity: ".2",
d: "M600 82c6.627 0 12 5.373 12 12v202c0 6.627-5.373 12-12 12H414c-6.627 0-12-5.373-12-12V94c0-6.627 5.373-12 12-12h186Z",
fill: "#FF9776"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
opacity: ".2",
d: "M487-52c6.627 0 12 5.373 12 12v222c0 6.627-5.373 12-12 12H383c-6.627 0-12-5.373-12-12V-40c0-6.627 5.373-12 12-12h104Z",
fill: "#FFCA8C"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
opacity: ".2",
d: "M541-12c6.627 0 12 5.373 12 12v247c0 6.627-5.373 12-12 12H315c-6.627 0-12-5.373-12-12V0c0-6.627 5.373-12 12-12h226Z",
fill: `url(#${_id5})`
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
opacity: ".1",
d: "M212-82c6.627 0 12 5.373 12 12V96c0 6.627-5.373 12-12 12h-79c-6.627 0-12-5.373-12-12V-70c0-6.627 5.373-12 12-12h79ZM221 433c6.627 0 12 5.373 12 12v143c0 6.627-5.373 12-12 12H20c-6.627 0-12-5.373-12-12V445c0-6.627 5.373-12 12-12h201Z",
fill: "#DF3600"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
opacity: ".1",
d: "M398 353c6.627 0 12 5.373 12 12v223c0 6.627-5.373 12-12 12H168c-6.627 0-12-5.373-12-12V365c0-6.627 5.373-12 12-12h230Z",
fill: "#FFD494"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
opacity: ".2",
d: "M322 0c6.627 0 12 5.373 12 12v58c0 6.627-5.373 12-12 12H82c-6.627 0-12-5.373-12-12V12c0-6.627 5.373-12 12-12h240Z",
fill: "#FFD494"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
opacity: ".1",
fill: "#DF3600",
d: "M582.157 144.749 132.748 594.158l-15.413-15.413 449.41-449.409zM548.445 112.036 99.036 561.445 78.97 541.377 528.377 91.968z"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
opacity: ".1",
fill: "#F45C2C",
d: "M529.476 91.068 80.067 540.476 60 520.41 509.409 71z"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
opacity: ".2",
fill: "#F45C2C",
d: "M511.476 69.068 62.067 518.476l-16.515-16.515L494.96 52.55z"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
opacity: ".1",
fill: "#FFBC6E",
d: "m494.925 52.515-449.41 449.41L29 485.407 478.409 36z"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
opacity: ".1",
fill: "#DF3600",
d: "m483.925 30.515-449.41 449.41L18 463.407 467.409 14z"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
opacity: ".09",
fill: "#FFD5A4",
d: "M335.879-6.439-18.484 347.924-35 331.408 319.363-22.955z"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
opacity: ".08",
fill: "#FFD5A4",
d: "M316.879-26.485-37.484 327.878-54 311.362 300.363-43z"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
opacity: ".05",
fill: "#FFD5A4",
d: "M299.879-49.485-54.484 304.878-71 288.362 283.363-66z"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
opacity: ".2",
fill: "#FFD5A4",
d: "M421.087-15.485 9.515 396.087-7 379.57 404.571-32.001zM432.087 10.515 20.515 422.087 4 405.57 415.571-6.001z"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
opacity: ".1",
fill: "#FFD5A4",
d: "M367.799.641 2.516 365.924-14 349.408 351.283-15.875z"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
opacity: ".1",
fill: "#DF3600",
d: "M581.494 145.085 132.085 594.494l-32.95-32.95 449.41-449.409z"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
opacity: ".1",
fill: "#DF3600",
d: "M581.494 145.085 132.085 594.494l-33.118-33.118 449.409-449.41z"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "m299.556 364.731-114.139-67.52 114.139-189.344 114.037 189.344-114.037 67.52Z",
fill: "#fff"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M299.556 479.69 185.417 318.932l114.139 67.418 114.14-67.418-114.14 160.758Z",
fill: "#fff"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("defs", {
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id2,
x1: "84",
y1: "153",
x2: "84",
y2: "456",
gradientUnits: "userSpaceOnUse",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
stopColor: "#FFE090"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#FFE090",
stopOpacity: "0"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id3,
x1: "198",
y1: "195",
x2: "198",
y2: "366",
gradientUnits: "userSpaceOnUse",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
stopColor: "#DF3600"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#DF3600",
stopOpacity: "0"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id4,
x1: "57",
y1: "320.283",
x2: "214.135",
y2: "320.283",
gradientUnits: "userSpaceOnUse",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
stopColor: "#DF3600"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#DF3600",
stopOpacity: "0"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id5,
x1: "428",
y1: "-12",
x2: "428",
y2: "259",
gradientUnits: "userSpaceOnUse",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
stopColor: "#DF3600"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#DF3600",
stopOpacity: "0"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("radialGradient", {
id: _id6,
cx: "0",
cy: "0",
r: "1",
gradientUnits: "userSpaceOnUse",
gradientTransform: "rotate(54.167 -42.31 263.393) scale(497.082)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
stopColor: "#FFD794"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#ED5A37"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("radialGradient", {
id: _id7,
cx: "0",
cy: "0",
r: "1",
gradientUnits: "userSpaceOnUse",
gradientTransform: "rotate(54.167 -42.31 263.393) scale(497.082)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
stopColor: "#FFD794"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#ED5A37"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("clipPath", {
id: _id8,
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fill: "#fff",
d: "M0 0h600v600H0z"
})
})]
})]
});
};
SVGComponent.defaultProps = {
viewBox: "0 0 600 600",
fill: "none",
xmlns: "http://www.w3.org/2000/svg"
};
/** */
const RethCircleColorful = exports.RethCircleColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(_antd.ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-reth-circle-colorful');
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, {
...props,
className: (0, _classnames.default)(prefixCls, props.className),
ref: ref,
component: (0, _utils.eraseDefaultProps)(SVGComponent)
});
});
RethCircleColorful.displayName = 'RethCircleColorful';