@ant-design/web3-icons
Version:
A collection of Web3 icons.
106 lines (105 loc) • 13.4 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.SushiSwapColorful = 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.jsx)("path", {
d: "M0 0h1920v1080H0z",
transform: "scale(.26667 .47407)",
fill: "none"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "m17721.1 7385.28-42.6 59.38c-6.7 9.43-19.7 13.97-36.6 12.58-21.8-1.8-50.7-13.32-78.4-33.19-27.7-19.88-47.9-43.56-56.7-63.61-6.7-15.54-6.6-29.26.2-38.7l42.5-59.38c6.8-9.43 19.8-13.97 36.6-12.58 21.8 1.8 50.8 13.33 78.5 33.2 27.7 19.87 47.9 43.55 56.6 63.6 6.8 15.54 6.6 29.27-.1 38.7Zm-160.2-114.76c4.4-6.1 13.2-7.68 24.1-6.78 19.9 1.64 46.1 12.48 71.4 30.62 25.3 18.13 44 39.5 52 57.8 4.3 10.03 5.7 18.87 1.3 24.97l5.7 4.07-5.7-4.07-42.6 59.38c-4.3 6.09-13.1 7.68-24 6.77-19.9-1.63-46.2-12.48-71.5-30.61-25.3-18.14-44-39.51-51.9-57.8-4.4-10.04-5.7-18.88-1.3-24.97l42.5-59.38Z",
transform: "matrix(2.15616 0 0 2.15615 -37722.586 -15599.28)",
fill: "#fff"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M17550.4 7275.75c13.9-19.4 61-9.44 105.2 22.22 44.2 31.67 68.8 73.14 54.9 92.54l-42.5 59.38c-13.9 19.4-61.1 9.44-105.3-22.23-44.2-31.67-68.8-73.13-54.9-92.53l42.6-59.38Z",
transform: "matrix(2.15616 0 0 2.15615 -37712.05 -15616.244)",
fill: "#fff"
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
transform: "translate(-41298.222 -35383.233) scale(2.22208)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M18640.6 15952.1c6-8.4 17.6-12.1 32.6-10.9 20.7 1.7 48.1 12.8 74.5 31.6 26.3 18.9 45.6 41.4 53.8 60.4 6 13.8 6.2 26 .2 34.4l-41.2 57.6c-6 8.4-17.7 12.1-32.6 10.9-20.7-1.8-48.2-12.8-74.5-31.7-26.4-18.8-45.6-41.3-53.9-60.3-6-13.8-6.2-26-.2-34.4l41.3-57.6Zm155.4 111.4v-.1c4.8-6.6 3.8-16.4-.9-27.4-7.9-18.1-26.4-39.4-51.6-57.4-25.1-18-51.2-28.7-70.9-30.3-12-1-21.5 1.2-26.3 7.9l-.2.4c-4.5 6.7-3.5 16.2 1.2 27 7.9 18.2 26.4 39.5 51.5 57.5s51.2 28.7 70.9 30.3c11.8.9 21.1-1.2 26-7.5l.3-.5v.1Zm-64.2-68.6c12.6 9 21.9 19.7 25.8 28.8 2.3 5.1 2.9 9.6.6 12.7-2.2 3.1-6.7 4-12.2 3.5-9.9-.8-22.9-6.2-35.5-15.2-12.6-9-21.9-19.6-25.8-28.7-2.2-5.1-2.8-9.6-.6-12.7 2.2-3.1 6.7-4 12.3-3.6 9.8.9 22.9 6.2 35.4 15.2Z",
fill: "#0e0f23"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("clipPath", {
id: _id,
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M18640.6 15952.1c6-8.4 17.6-12.1 32.6-10.9 20.7 1.7 48.1 12.8 74.5 31.6 26.3 18.9 45.6 41.4 53.8 60.4 6 13.8 6.2 26 .2 34.4l-41.2 57.6c-6 8.4-17.7 12.1-32.6 10.9-20.7-1.8-48.2-12.8-74.5-31.7-26.4-18.8-45.6-41.3-53.9-60.3-6-13.8-6.2-26-.2-34.4l41.3-57.6Zm155.4 111.4v-.1c4.8-6.6 3.8-16.4-.9-27.4-7.9-18.1-26.4-39.4-51.6-57.4-25.1-18-51.2-28.7-70.9-30.3-12-1-21.5 1.2-26.3 7.9l-.2.4c-4.5 6.7-3.5 16.2 1.2 27 7.9 18.2 26.4 39.5 51.5 57.5s51.2 28.7 70.9 30.3c11.8.9 21.1-1.2 26-7.5l.3-.5v.1Zm-64.2-68.6c12.6 9 21.9 19.7 25.8 28.8 2.3 5.1 2.9 9.6.6 12.7-2.2 3.1-6.7 4-12.2 3.5-9.9-.8-22.9-6.2-35.5-15.2-12.6-9-21.9-19.6-25.8-28.7-2.2-5.1-2.8-9.6-.6-12.7 2.2-3.1 6.7-4 12.3-3.6 9.8.9 22.9 6.2 35.4 15.2Z"
})
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("g", {
clipPath: `url(#${_id})`,
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M17004.5 15714.1c1.1 0 2.9-1.1 3.9-1.4 3.5-1.1 7-2.2 10.6-3.1 10.5-2.7 21.4-4.2 32.2-3.2 17 1.6 32.4 14.1 49.5 12.4 9.6-.9 16.4-6.6 24.8-10.5 8-3.9 16.8-5.6 25.7-4.8 26.5 2.2 36.5 24.2 63.4 23 22.3-1 13.6-12.3 35-16.3.2-.1 51.7 19 52.1 22.3 1.5 12.7-27.1 162.3-25.8 162.3l-255.1-39.5-16.3-141.2Z",
transform: "matrix(1 0 0 -2.3719 1581.65 53337.7)",
fill: `url(#${_id2})`
})
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M18731 16122.3c7.8 1.3 15 1.6 21 .6.8-.1 1.4-.9 1.3-1.7-.2-.8-.9-1.4-1.7-1.3-5.8 1-12.6.7-20.1-.6-.8-.1-1.6.5-1.7 1.3-.1.8.4 1.6 1.2 1.7Zm-11.8-2.6c2 .5 3.9 1 5.9 1.4.8.2 1.6-.3 1.7-1.1.2-.8-.3-1.6-1.1-1.8-1.9-.4-3.8-.9-5.7-1.4-.8-.3-1.7.2-1.9 1-.2.8.3 1.6 1.1 1.9Zm-111.7-94.7c5.6 22.9 27.6 44.3 45.3 59.5.6.6 1.6.5 2.1-.1.5-.7.5-1.6-.2-2.1-17.2-14.9-38.8-35.7-44.2-58-.2-.8-1.1-1.3-1.9-1.1-.8.2-1.3 1-1.1 1.8Zm-1.3-9.2c0 1 .1 2.1.2 3.1.1.8.9 1.4 1.7 1.3.8-.1 1.4-.8 1.3-1.6-.1-1-.2-2-.2-2.9 0-.9-.7-1.5-1.6-1.5-.8.1-1.4.8-1.4 1.6Z",
transform: "translate(-41234.303 -35478.769) scale(2.22208)",
fill: "#fff"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("defs", {
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id2,
x1: "0",
y1: "0",
x2: "1",
y2: "0",
gradientUnits: "userSpaceOnUse",
gradientTransform: "matrix(27.908 -59.2347 -140.499 -11.7661 17095.7 15766.6)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#27b0e6",
stopOpacity: "1"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".52",
stopColor: "#c26bb3",
stopOpacity: "1"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#fa52a0",
stopOpacity: "1"
})]
})
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 512 512",
xmlSpace: "preserve",
fillRule: "evenodd",
clipRule: "evenodd",
strokeLinejoin: "round",
strokeMiterlimit: "2"
};
/** */
const SushiSwapColorful = exports.SushiSwapColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(_antd.ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-sushiswap-colorful');
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, {
...props,
className: (0, _classnames.default)(prefixCls, props.className),
ref: ref,
component: (0, _utils.eraseDefaultProps)(SVGComponent)
});
});
SushiSwapColorful.displayName = 'SushiSwapColorful';