@ant-design/web3-icons
Version:
A collection of Web3 icons.
64 lines (63 loc) • 5.9 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.StraxColorful = 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 _id = (0, _react.useUniqueInlineId)();
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
...props,
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("defs", {
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id,
x2: "2000",
gradientUnits: "userSpaceOnUse",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
stopColor: "#fff"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
stopColor: "#21bbc0"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".34",
stopColor: "#20b9c0"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#1387c9"
})]
})
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "m135.83 740.32 875.06 551.4a1.67 1.67 0 0 0 1.91 0l892.7-563.89a1.68 1.68 0 0 0 .5-2.42 1.21 1.21 0 0 0-.5-.5L1021 161.21a1.67 1.67 0 0 0-1.91 0L135.83 737.3a1.81 1.81 0 0 0-.3 2.62 1.39 1.39 0 0 0 .3.4Zm875.07 1197.92a60.11 60.11 0 0 1-32.75-9.67L41 1325.07a1.84 1.84 0 0 1 0-2.42l39.9-62.07a1.84 1.84 0 0 1 2.42 0l927.16 597.15a1.67 1.67 0 0 0 1.91 0l878.69-564.6a69.81 69.81 0 0 0 32.25-59v-139a1.88 1.88 0 0 0-1.91-1.71 2.37 2.37 0 0 0-.81.2l-887.46 565.2a60.62 60.62 0 0 1-65 0L71.34 1088.27A152 152 0 0 1 0 959.39V764.91a60.31 60.31 0 0 1 17-42.12l3-2.42 17.23-11.79 951.34-620 1-.6a60.5 60.5 0 0 1 62.48 1.51l919.7 585.86a60.68 60.68 0 0 1 0 102.48l-927.56 585.66a61 61 0 0 1-64.49 0L79.91 797a1.79 1.79 0 0 0-2.42.6 1.5 1.5 0 0 0-.2.91v160.78a75.13 75.13 0 0 0 34.86 63.71l887.66 564.2a1.67 1.67 0 0 0 1.91 0l905.39-577.6a60.37 60.37 0 0 1 73 6 62.75 62.75 0 0 1 19.45 47.26v170.6a147.19 147.19 0 0 1-67.72 124.35l-888.67 571a61.91 61.91 0 0 1-32.25 9.37Z",
transform: "translate(0 -80)",
fill: `url(#${_id})`
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 2000 1858.24"
};
/** */
const StraxColorful = exports.StraxColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(_antd.ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-strax-colorful');
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, {
...props,
className: (0, _classnames.default)(prefixCls, props.className),
ref: ref,
component: (0, _utils.eraseDefaultProps)(SVGComponent)
});
});
StraxColorful.displayName = 'StraxColorful';