@ant-design/web3-icons
Version:
A collection of Web3 icons.
108 lines (107 loc) • 8.48 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.KarmaColorful = 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.jsxs)("defs", {
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id,
x1: "11.98",
y1: "20.11",
x2: "31.73",
y2: "20.11",
gradientTransform: "matrix(1 0 0 -1 0 37.25)",
gradientUnits: "userSpaceOnUse",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#29dce8"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#29dc93"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("linearGradient", {
id: _id2,
x1: "16.99",
y1: "34.1",
x2: "17.25",
y2: "34.1",
xlinkHref: `#${_id}`
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("linearGradient", {
id: _id3,
x1: ".14",
y1: "23.85",
x2: "15.71",
y2: "23.85",
xlinkHref: `#${_id}`
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("linearGradient", {
id: _id4,
x1: "27.91",
y1: "23.8",
x2: "43.78",
y2: "23.8",
xlinkHref: `#${_id}`
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("linearGradient", {
id: _id5,
x1: "26.28",
y1: "12.23",
x2: "26.28",
y2: "12.23",
xlinkHref: `#${_id}`
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M22.48.11s4.5 1.8 8.4 10.7a22.27 22.27 0 0 1 .9 4.8s.2 5.9-4.1 7.7a2.38 2.38 0 0 0-1.7 2.6c.2 2.1.6 5.4.6 6.1a2.35 2.35 0 0 1-2.3 2.1 15.91 15.91 0 0 1-4.5 0c-1.5-.4-1.7-1.2-1.7-1.2s-.7-1-.2-5.4c0 0 1-3.1-1.9-4.3s-3.9-6.5-3.9-6.5-.9-5.2 4.7-12.5c0 0 3.5-4.4 5.6-4.2",
fill: `url(#${_id})`
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "m17.28 3-.3.3Z",
fill: `url(#${_id2})`
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M14.88 6.11a14.62 14.62 0 0 0-5.1-2.3 27.38 27.38 0 0 0-5.6-.6h-1.3a2.9 2.9 0 0 0-2.3 1 2.47 2.47 0 0 0-.5 2.2 21.18 21.18 0 0 0 5.2 11.1 25 25 0 0 0 4.7 3.9 19.81 19.81 0 0 0 5.7 2.2c-3-1.3-4-6.7-4-6.7-2.9-1.8-4.8-4.5-6.2-8.5h.1a13 13 0 0 1 7.1 2.3 16.07 16.07 0 0 1 2.2-4.6Z",
fill: `url(#${_id3})`
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M31.18 10.71a12.77 12.77 0 0 1 7.1-2.3h.1c-1.4 4-3.4 6.7-6.3 8.5v-.6c-.1 1.6-.7 5.9-4.2 7.4a20.74 20.74 0 0 0 6-2.3 16.07 16.07 0 0 0 4.7-3.9 22.82 22.82 0 0 0 5.2-11.1 2.47 2.47 0 0 0-.5-2.2 3.26 3.26 0 0 0-2.3-1h-1.3a26 26 0 0 0-5.6.6 13.76 13.76 0 0 0-5.2 2.4 25.33 25.33 0 0 1 2.3 4.5Z",
fill: `url(#${_id4})`
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M26.28 25Z",
fill: `url(#${_id5})`
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
xmlnsXlink: "http://www.w3.org/1999/xlink",
viewBox: "0 0 43.85 34.28"
};
/** */
const KarmaColorful = exports.KarmaColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(_antd.ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-karma-colorful');
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, {
...props,
className: (0, _classnames.default)(prefixCls, props.className),
ref: ref,
component: (0, _utils.eraseDefaultProps)(SVGComponent)
});
});
KarmaColorful.displayName = 'KarmaColorful';