@ant-design/web3-icons
Version:
A collection of Web3 icons.
149 lines (148 loc) • 11.1 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.AcalaCircleColorful = 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 _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)("path", {
d: "M43.697 49.565c-1.786 0-3.523.149-5.203.434l2.588-4.481a38.761 38.761 0 0 1 8.712.401L39.747 28.52 23.025 57.484l-2.39-4.139L39.71 20.307l.04.068.037-.066 23.02 39.871h-4.78l-5.38-9.318a30.912 30.912 0 0 0-8.95-1.297Z",
fill: `url(#${_id})`
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M64.294 57.554 42.008 18.953h4.78l19.896 34.462-2.39 4.14Z",
fill: `url(#${_id2})`
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "m42.174 37.997-9.15 15.85c3.273-.987 7.128-1.428 10.764-1.428a38.76 38.76 0 0 1 7.036.651l3.054 5.288c-3.126-1.137-6.508-1.806-10.09-1.806-5.296 0-10.16 1.31-14.396 3.59l.066-.12-.091.158h-4.78l15.198-26.322 2.39 4.139Z",
fill: `url(#${_id3})`
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M44 80.816c20.333 0 36.816-16.483 36.816-36.816C80.816 23.667 64.333 7.184 44 7.184 23.667 7.184 7.184 23.667 7.184 44c0 20.333 16.483 36.816 36.816 36.816Zm.09-4.49c17.903 0 32.416-14.513 32.416-32.416S61.993 11.494 44.09 11.494 11.674 26.007 11.674 43.91 26.187 76.326 44.09 76.326Z",
fill: `url(#${_id4})`
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M44 88c24.3 0 44-19.7 44-44S68.3 0 44 0 0 19.7 0 44s19.7 44 44 44Zm.18-4.13c22.019 0 39.869-17.85 39.869-39.87 0-22.02-17.85-39.87-39.87-39.87C22.16 4.13 4.31 21.98 4.31 44c0 22.02 17.85 39.87 39.87 39.87Z",
fill: `url(#${_id5})`
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("defs", {
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id,
x1: "132.24",
y1: "57.577",
x2: "65.146",
y2: "-20.923",
gradientUnits: "userSpaceOnUse",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
stopColor: "#645AFF"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".524",
stopColor: "#E40C5B"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#FF4C3B"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id2,
x1: "132.24",
y1: "57.577",
x2: "65.146",
y2: "-20.923",
gradientUnits: "userSpaceOnUse",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
stopColor: "#645AFF"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".524",
stopColor: "#E40C5B"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#FF4C3B"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id3,
x1: "132.24",
y1: "57.577",
x2: "65.146",
y2: "-20.923",
gradientUnits: "userSpaceOnUse",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
stopColor: "#645AFF"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".524",
stopColor: "#E40C5B"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#FF4C3B"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id4,
x1: "132.24",
y1: "57.577",
x2: "65.146",
y2: "-20.923",
gradientUnits: "userSpaceOnUse",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
stopColor: "#645AFF"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".524",
stopColor: "#E40C5B"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#FF4C3B"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id5,
x1: "132.24",
y1: "57.577",
x2: "65.146",
y2: "-20.923",
gradientUnits: "userSpaceOnUse",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
stopColor: "#645AFF"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".524",
stopColor: "#E40C5B"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#FF4C3B"
})]
})]
})]
});
};
SVGComponent.defaultProps = {
viewBox: "0 0 88 88",
fill: "none",
xmlns: "http://www.w3.org/2000/svg"
};
/** */
const AcalaCircleColorful = exports.AcalaCircleColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(_antd.ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-acala-circle-colorful');
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, {
...props,
className: (0, _classnames.default)(prefixCls, props.className),
ref: ref,
component: (0, _utils.eraseDefaultProps)(SVGComponent)
});
});
AcalaCircleColorful.displayName = 'AcalaCircleColorful';