@ant-design/web3-icons
Version:
A collection of Web3 icons.
85 lines (84 loc) • 6.25 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.KdaColorful = 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)("linearGradient", {
id: _id,
gradientUnits: "userSpaceOnUse",
x1: "891.381",
y1: "1149.934",
x2: "1398.671",
y2: "423.273",
gradientTransform: "matrix(1 0 0 -1 0 2199.89)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#ea078c"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#69009a"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "m1047.4 809.8 57 74s343 503.8 514.8 755.3c118.5 174.5 237 349 355.7 523.4 9.1 12.5 17.5 25.5 25.1 38.9-211.2.9-422.4.4-633.5.2-210.2-312-627.5-938.1-627.5-938.1l-36-65.6",
fill: `url(#${_id})`
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id2,
gradientUnits: "userSpaceOnUse",
x1: "454.65",
y1: "1157.199",
x2: "1486.38",
y2: "1791.319",
gradientTransform: "matrix(1 0 0 -1 0 2199.89)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#ea078c"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#69009a"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M554 1455.2c-7.8 6.2-7.2 16.5-7.2 25.5l-8.5 28.4-41.1-660.7 50.3-53.8c12.9-8.8 512.4-536.8 752.8-788.2 5.7-8 16-5.6 24.4-6.3 209.2.7 627.5.5 627.5.5S614.9 1390.6 554 1455.2z",
fill: `url(#${_id2})`
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M0 .7h547.4v2200.1H0V.7z",
fill: "#69009a"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 2000 2202",
xmlSpace: "preserve",
enableBackground: "new 0 0 2000 2202"
};
/** */
const KdaColorful = exports.KdaColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(_antd.ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-kda-colorful');
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, {
...props,
className: (0, _classnames.default)(prefixCls, props.className),
ref: ref,
component: (0, _utils.eraseDefaultProps)(SVGComponent)
});
});
KdaColorful.displayName = 'KdaColorful';