@ant-design/web3-icons
Version:
A collection of Web3 icons.
254 lines (253 loc) • 25.3 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.ShaColorful = 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 _id18 = (0, _react.useUniqueInlineId)();
const _id17 = (0, _react.useUniqueInlineId)();
const _id16 = (0, _react.useUniqueInlineId)();
const _id15 = (0, _react.useUniqueInlineId)();
const _id14 = (0, _react.useUniqueInlineId)();
const _id13 = (0, _react.useUniqueInlineId)();
const _id12 = (0, _react.useUniqueInlineId)();
const _id11 = (0, _react.useUniqueInlineId)();
const _id10 = (0, _react.useUniqueInlineId)();
const _id9 = (0, _react.useUniqueInlineId)();
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.jsx)("defs", {
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
id: _id,
d: "M396.4 1039.2c-22.1-11.4-45-23.3-67.4-35.7-47.1-26.2-88.1-53.8-125.4-84.5-46.8-38.5-81.2-79.2-105.1-124.4-16.4-31.2-28.7-65.6-37.7-105.4-8-35.7-13.2-73-15.8-114.3-1.2-19.3-2-39-2.9-60.6L40 467.1V166.7c94.3-33.1 188.7-66.4 283.1-99.9l48.2-17.1c8.7-3.1 17.4-6.2 25.9-9.3 1.8-.6 3.7-.6 5.4.1L477.1 67c94.1 33.3 188.2 66.5 282.3 99.6l-2 347.6c-.9 22.8-1.7 41.9-2.9 60.7-2.6 41-7.7 78.4-15.8 114.3-8.9 39.8-21.2 74.2-37.7 105.3-23.9 45.2-58.3 85.9-105.1 124.5-37.1 30.5-78.1 58.2-125.4 84.5-22.8 12.7-45.9 24.6-66.3 35.2-1.4.8-3 1.2-4.7 1.3-1 0-2.1-.3-3.1-.8M399.8 0c-5.5 0-11 .9-16.1 2.8-8.6 3.1-17.2 6.2-25.8 9.2l-48.1 17C211.1 63.9 112.4 98.7 13.6 133.5L0 138.3V468l2.2 48.1c.8 21 1.7 41.5 3 61.3 2.7 43.2 8.1 82.6 16.6 120.5 9.7 43.3 23.2 81 41.3 115.3 26.4 50 64.1 94.7 115.1 136.6 39.1 32.2 82 61.1 131.3 88.5 22.8 12.7 46 24.7 68.5 36.3 6.7 3.4 14.1 5.2 21.6 5.3 8 0 15.9-2 23-5.8 20.8-10.8 44.4-22.9 67.5-35.8 49.4-27.5 92.3-56.5 131.3-88.6 51-41.9 88.7-86.6 115.1-136.6 18.1-34.3 31.7-72 41.4-115.3 8.5-38.1 14-77.5 16.7-120.5 1.2-19.3 2.1-38.9 3-62.3l2.2-376.8-13.7-4.8C687.4 99 588.9 64.2 490.5 29.3L416.1 2.8C410.9.9 405.4 0 399.8 0z"
})
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("clipPath", {
id: _id2,
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("use", {
xlinkHref: `#${_id}`,
overflow: "visible"
})
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
clipPath: `url(#${_id2})`,
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id3,
gradientUnits: "userSpaceOnUse",
x1: "102.011",
y1: "-120.203",
x2: "103.011",
y2: "-120.203",
gradientTransform: "scale(1015.95) rotate(-45 197.163 63.361)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#8933EF"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#FF2DBB"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fill: `url(#${_id3})`,
d: "m-540 540 939.8-939.8L1339.7 540l-939.9 939.8z"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("defs", {
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
id: _id4,
d: "M266.8 336c-.1 54.9 33.7 104.2 84.9 123.9.7.3 1.5.5 2.2.8 5.9 2.2 12 4 18.2 5.3 18.2 4 37 3.9 55.2-.2L492.7 736H306.9l55.9-231.1c-13.1-2.9-25.9-7.4-38-13.2L262.9 748c-3 12.3 4.6 24.6 16.8 27.5 1.8.4 3.6.6 5.4.6h229.5c12.6 0 22.8-10.2 22.8-22.8 0-1.8-.2-3.6-.6-5.4l-75.7-313-5.9-24.4c-11 8.1-23.7 13.8-37.1 16.4-6 1.3-12 1.9-18.1 2-51.5.2-93.4-41.5-93.6-93s41.5-93.4 93-93.6c51.5-.2 93.4 41.5 93.6 93 0 11.7-2.1 23.3-6.4 34.2l13.1 54.2c48.5-55.1 43.1-139.1-12-187.6s-139.1-43.1-187.6 12c-21.5 24.3-33.3 55.6-33.3 87.9"
})
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("clipPath", {
id: _id5,
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("use", {
xlinkHref: `#${_id4}`,
overflow: "visible"
})
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
clipPath: `url(#${_id5})`,
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id6,
gradientUnits: "userSpaceOnUse",
x1: "102.011",
y1: "-120.238",
x2: "103.011",
y2: "-120.238",
gradientTransform: "scale(1015.95) rotate(-45 197.163 63.361)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#8933EF"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#FF2DBB"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fill: `url(#${_id6})`,
d: "m-27.2 489.5 427-426.9 427 426.9-427 427z"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("defs", {
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
id: _id7,
d: "m342.3 120.5-1 .4c-80 28.3-162.4 57.5-244.1 86.2v221.8h40V235.4c73.1-25.8 146.3-51.7 217.4-76.8l1-.4 24.1-8.5v-42.4l-37.4 13.2z"
})
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("clipPath", {
id: _id8,
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("use", {
xlinkHref: `#${_id7}`,
overflow: "visible"
})
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
clipPath: `url(#${_id8})`,
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id9,
gradientUnits: "userSpaceOnUse",
x1: "102.011",
y1: "-120.504",
x2: "103.011",
y2: "-120.504",
gradientTransform: "scale(1015.95) rotate(-45 197.162 63.361)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#8933EF"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#FF2DBB"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fill: `url(#${_id9})`,
d: "M-63.6 268.1 238.5-34l302.1 302.1-302.1 302.1z"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("defs", {
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
id: _id10,
d: "m97.4 469 2 42.7v.3c.8 20.9 1.7 40.7 2.8 59.3v.1c2.4 38.2 7.1 72.6 14.5 105.3 7.8 34.8 18.4 64.6 32.5 91.3 20.3 38.4 50 73.4 90.9 107 34.6 28.5 72.8 54.2 116.9 78.7 7.5 4.2 15.2 8.3 22.9 12.5v-45.6c-1.2-.6-2.3-1.3-3.4-1.9-41.9-23.3-78.2-47.8-110.9-74.7-36.7-30.2-63.2-61.2-80.9-94.8-12.4-23.5-21.8-50.1-28.8-81.3-6.9-30.6-11.3-63-13.6-99.1v-.1c-1.2-18.2-1.9-37.7-2.8-58.4v-.5l-1.9-40.8H97.4z"
})
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("clipPath", {
id: _id11,
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("use", {
xlinkHref: `#${_id10}`,
overflow: "visible"
})
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
clipPath: `url(#${_id11})`,
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id12,
gradientUnits: "userSpaceOnUse",
x1: "102.011",
y1: "-120.191",
x2: "103.011",
y2: "-120.191",
gradientTransform: "scale(1015.95) rotate(-45 197.163 63.361)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#8933EF"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#FF2DBB"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fill: `url(#${_id12})`,
d: "m-151.2 717.5 389.8-389.8 389.8 389.8-389.8 389.8z"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("defs", {
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
id: _id13,
d: "m419.8 149.5 25 8.9.2.1h.1c77.3 27.3 147.7 52.2 217.1 76.7l-1.1 193.7h40l1.3-222c-77.4-27.2-154.3-54.4-244.1-86.2L419.9 107l-.1 42.5z"
})
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("clipPath", {
id: _id14,
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("use", {
xlinkHref: `#${_id13}`,
overflow: "visible"
})
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
clipPath: `url(#${_id14})`,
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id15,
gradientUnits: "userSpaceOnUse",
x1: "102.011",
y1: "-120.28",
x2: "103.011",
y2: "-120.28",
gradientTransform: "scale(1015.95) rotate(-45 197.162 63.361)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#8933EF"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#FF2DBB"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fill: `url(#${_id15})`,
d: "M258.9 268 561.1-34.2 863.3 268 561.1 570.2z"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("defs", {
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
id: _id16,
d: "m660.9 469-.2 43.2c-.8 21.3-1.6 39.2-2.7 56.8-2.2 35.8-6.7 68.3-13.6 99.1-7 31.2-16.4 57.8-28.8 81.2-17.8 33.6-44.3 64.7-81 94.9-32.5 26.8-68.8 51.2-110.9 74.7L420 921v45.5c7.7-4.1 15.5-8.3 23.2-12.6 44.2-24.7 82.5-50.4 116.9-78.7 40.9-33.7 70.7-68.7 91-107.1 14.1-26.6 24.7-56.4 32.5-91.1 7.4-32.9 12.1-67.4 14.5-105.4 1.1-18.1 1.9-36.5 2.8-58.4l.2-44.1h-40.2z"
})
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("clipPath", {
id: _id17,
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("use", {
xlinkHref: `#${_id16}`,
overflow: "visible"
})
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
clipPath: `url(#${_id17})`,
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id18,
gradientUnits: "userSpaceOnUse",
x1: "102.011",
y1: "-119.967",
x2: "103.011",
y2: "-119.967",
gradientTransform: "scale(1015.95) rotate(-45 197.163 63.362)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#8933EF"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#FF2DBB"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fill: `url(#${_id18})`,
d: "m171.1 717.6 389.3-389.2 389.2 389.2-389.2 389.3z"
})]
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
xmlnsXlink: "http://www.w3.org/1999/xlink",
viewBox: "0 0 799.7 1080",
xmlSpace: "preserve"
};
/** */
const ShaColorful = exports.ShaColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(_antd.ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-sha-colorful');
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, {
...props,
className: (0, _classnames.default)(prefixCls, props.className),
ref: ref,
component: (0, _utils.eraseDefaultProps)(SVGComponent)
});
});
ShaColorful.displayName = 'ShaColorful';