@ant-design/web3-icons
Version:
A collection of Web3 icons.
60 lines (59 loc) • 7.25 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.TchColorful = 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.jsxs)("linearGradient", {
id: _id,
gradientUnits: "userSpaceOnUse",
x1: "86.84",
x2: "402.88",
y1: "37.2",
y2: "298.75",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#ea3570"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".88",
stopColor: "#138fc9"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M0 61.89C-1.07 30 23.65 3.27 55.25 2.17a57 57 0 0 1 46.52 21.44c-13.42 5.49-52.82 26.3-71.93 87A57.8 57.8 0 0 1 0 61.89zm40.7 46.85h107.89a108.58 108.58 0 0 0-42.91-70.42 96.948 96.948 0 0 0-6.23-4.25 177.37 177.37 0 0 0-58.71 74.67zm222 0h104.67a177.48 177.48 0 0 0-56.25-72.83c-1.56 1-3.51 2.3-5.72 3.93a108.56 108.56 0 0 0-42.68 68.9zm-136.3 86.34a111 111 0 0 0 23.49-73.67H36a177.84 177.84 0 0 0-5.79 87.83c41.81-.63 58.29-28 58.29-28l11.12 12.9c-18.42 23.6-46.39 29.63-65.77 30.69q2 7.23 4.67 14.2c43.39-1.52 70.89-22.19 87.9-43.95zm38.6-48.72c-4.92 28.11-15.4 49-28.37 64.59 7.28 9.14 28 28.86 71.31 28.13 0 0 34 3.07 66.4-26.65C261.42 196.87 251 176 246 147.88c0 0-13.88-83.21 48.45-123.22A175.76 175.76 0 0 0 216.21.23v67H196V0a175.69 175.69 0 0 0-79.54 23C178.94 63 165 146.36 165 146.36zM361.93 3.09a57.82 57.82 0 0 0-53.66 19.51c50.83 27.87 65.52 70.18 70.9 87.82a57 57 0 0 0 30.27-41.32c5.23-31.18-16.04-60.74-47.51-66.01zm-49.54 187.85 12-12.78s14.89 25.48 54.16 27.26a178.46 178.46 0 0 0 2.33-28.78 176.63 176.63 0 0 0-8.81-55.23H261.25a111 111 0 0 0 23.41 75.19c16.54 21.17 43 41.32 84.38 43.75a174.72 174.72 0 0 0 6.24-19.44c-19.18-1.38-45.28-7.75-62.89-29.97zm-116.95 83.57v-12.62c-22.9-2.22-48-12.37-73.24-36.44-27.51 23.09-60.2 28.87-76.33 30.29a177.34 177.34 0 0 0 101.53 88.45 86.57 86.57 0 0 0 29.89-21.46 72.06 72.06 0 0 0 18.15-48.22zm-19.84 76.67a178.6 178.6 0 0 0 60.61-.64 160.48 160.48 0 0 1-30.39-47.07 160.81 160.81 0 0 1-30.22 47.71zm40.74-89.33v13a69.23 69.23 0 0 0 17.38 46.32A86.65 86.65 0 0 0 264.19 343a177.42 177.42 0 0 0 97.47-86.07c-16.6-1.88-45.59-8.08-70.76-28.26-10.48 8.81-38.52 29.56-74.56 33.18z",
fill: `url(#${_id})`
})]
});
};
SVGComponent.defaultProps = {
viewBox: "0 0 410.23 353.46",
xmlns: "http://www.w3.org/2000/svg"
};
/** */
const TchColorful = exports.TchColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(_antd.ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-tch-colorful');
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, {
...props,
className: (0, _classnames.default)(prefixCls, props.className),
ref: ref,
component: (0, _utils.eraseDefaultProps)(SVGComponent)
});
});
TchColorful.displayName = 'TchColorful';