@ant-design/web3-icons
Version:
A collection of Web3 icons.
173 lines (172 loc) • 9.89 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.EktColorful = 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 _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.jsxs)("linearGradient", {
id: _id,
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#43c465"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#14a53c"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("linearGradient", {
id: _id2,
gradientUnits: "userSpaceOnUse",
x1: "44.636",
x2: "45.303",
xlinkHref: `#${_id}`,
y1: "76.764",
y2: "31.431"
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id3,
gradientUnits: "userSpaceOnUse",
x1: "99.294",
x2: "52.628",
y1: "25.134",
y2: "23.134",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#33c2f7"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#0f95b2"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("linearGradient", {
id: _id4,
gradientUnits: "userSpaceOnUse",
x1: "45.191",
x2: "44.524",
xlinkHref: `#${_id}`,
y1: "141.928",
y2: "87.928"
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id5,
gradientUnits: "userSpaceOnUse",
x1: "108.237",
x2: "148.904",
y1: "25.148",
y2: "24.481",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#03b7f9"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#0f95b2"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("linearGradient", {
id: _id6,
gradientUnits: "userSpaceOnUse",
x1: "158.283",
x2: "156.95",
xlinkHref: `#${_id}`,
y1: "78.513",
y2: "32.514"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("linearGradient", {
id: _id7,
gradientUnits: "userSpaceOnUse",
x1: "159.201",
x2: "158.534",
xlinkHref: `#${_id}`,
y1: "144.891",
y2: "88.891"
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id8,
gradientUnits: "userSpaceOnUse",
x1: "100.381",
x2: "50.381",
y1: "147.293",
y2: "148.626",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#fff58e"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#ffca20"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id9,
gradientUnits: "userSpaceOnUse",
x1: "106.098",
x2: "144.098",
y1: "147.466",
y2: "149.466",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#feda5a"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#ffca20"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M0 86h89L33 30.5z",
fill: `url(#${_id2})`
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M102 0v50.5L51.5 0z",
fill: `url(#${_id3})`
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "m89 86-55.5 56L0 86z",
fill: `url(#${_id4})`
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M102 50.5 152.3 0H102z",
fill: `url(#${_id5})`
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "m203 86-33.5-55.5L114 86z",
fill: `url(#${_id6})`
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M170.5 142 114 86h89z",
fill: `url(#${_id7})`
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M102 121.5V173H51.5z",
fill: `url(#${_id8})`
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M152.3 173H102v-51.5z",
fill: `url(#${_id9})`
})]
});
};
SVGComponent.defaultProps = {
viewBox: "0 0 203 173",
xmlns: "http://www.w3.org/2000/svg",
xmlnsXlink: "http://www.w3.org/1999/xlink"
};
/** */
const EktColorful = exports.EktColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(_antd.ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-ekt-colorful');
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, {
...props,
className: (0, _classnames.default)(prefixCls, props.className),
ref: ref,
component: (0, _utils.eraseDefaultProps)(SVGComponent)
});
});
EktColorful.displayName = 'EktColorful';