@ant-design/web3-icons
Version:
A collection of Web3 icons.
74 lines (73 loc) • 6.61 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.YfiCircleColorful = 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: "0",
y1: "99.89",
x2: "100",
y2: "-.11",
gradientTransform: "matrix(1 0 0 -1 0 99.89)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#0077FC"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#095EB5"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M100 50c0-6.5-1.3-13.1-3.8-19.1S90 19.3 85.4 14.6C80.7 10 75.2 6.3 69.1 3.8S56.5 0 50 0 36.9 1.3 30.9 3.8 19.3 10 14.6 14.6C10 19.3 6.3 24.8 3.8 30.9S0 43.5 0 50s1.3 13.1 3.8 19.1S10 80.7 14.6 85.4c4.6 4.6 10.2 8.3 16.2 10.8S43.5 100 50 100s13.1-1.3 19.1-3.8S80.7 90 85.4 85.4c4.6-4.6 8.3-10.2 10.8-16.2S100 56.5 100 50z",
fillRule: "evenodd",
clipRule: "evenodd",
fill: `url(#${_id})`
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M47.4 27.4h5.2v45.2h-5.2V27.4z",
fillRule: "evenodd",
clipRule: "evenodd",
fill: "#FFF"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M44.5 48.7v-5.4c-4.1-2-7-6.3-7-11.2 0-6.9 5.6-12.5 12.5-12.5 7.8 0 13.4 5.6 13.4 12.5 0 1.7-.4 3.4-1.2 5.4L60 30.3l-4.4 1.4 3.9 14.9L74.7 41l-1.9-4.4-5.7 1.9c1-2.2 1.2-3.9 1.2-6.5 0-9.7-7.8-17.5-18.4-17.5-9.7 0-17.5 7.8-17.5 17.5.1 7.8 5.1 14.4 12.1 16.7zM55.5 51.3v5.4c4.1 2 7 6.3 7 11.2 0 6.9-5.6 12.5-12.5 12.5-7.8 0-13.4-5.6-13.4-12.5 0-1.7.4-3.4 1.2-5.4l2.2 7.2 4.4-1.4-3.9-14.9L25.3 59l1.9 4.4 5.7-1.9c-1 2.2-1.2 3.9-1.2 6.5 0 9.7 7.8 17.5 18.4 17.5 9.7 0 17.5-7.8 17.5-17.5-.1-7.8-5.1-14.4-12.1-16.7z",
fillRule: "evenodd",
clipRule: "evenodd",
fill: "#FFF"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 100 100",
xmlSpace: "preserve"
};
/** */
const YfiCircleColorful = exports.YfiCircleColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(_antd.ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-yfi-circle-colorful');
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, {
...props,
className: (0, _classnames.default)(prefixCls, props.className),
ref: ref,
component: (0, _utils.eraseDefaultProps)(SVGComponent)
});
});
YfiCircleColorful.displayName = 'YfiCircleColorful';