@ant-design/web3-icons
Version:
A collection of Web3 icons.
86 lines (85 loc) • 6.8 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.TfuelCircleColorful = 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 _id2 = (0, _react.useUniqueInlineId)();
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: "500",
x2: "1000",
y2: "500",
gradientTransform: "matrix(1 0 0 -1 0 1000)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#FFA50D"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#FE5413"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M500 0c276.1 0 500 223.9 500 500s-223.9 500-500 500S0 776.1 0 500 223.9 0 500 0z",
fill: `url(#${_id})`
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M692 347c-6.3 7.5-5.9 24.1-16 19 0 0-70.3-26.9-27-106 11.7-18.3 23.8-19.5 22-64 10.8 16.4 46.2 49.3 49 101 2.8 34.5-17.8 39.1-28 50z",
fill: "#FFF"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M636 470c17.3-5.8 45.3-15 47-74 26.7 40.9 117.3 98.3 74 274-17.6 68.5-83.2 101.8-145 127-38.6 16.4-78 43.8-94 85 0 0-292.1-36.9-283-327 7.3-150.5 148.3-208 208-318 31.8-69.4 21-139 21-139s186 115.7 102 294c-27.3 63 37.9 84.3 70 78z",
fill: "#FFF"
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id2,
gradientUnits: "userSpaceOnUse",
x1: "349",
y1: "622",
x2: "652",
y2: "622",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#FFA50D"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#FE5413"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fill: `url(#${_id2})`,
d: "M349 522v97h103v103h97V619h103v-97z"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 1000 1000",
xmlSpace: "preserve"
};
/** */
const TfuelCircleColorful = exports.TfuelCircleColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(_antd.ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-tfuel-circle-colorful');
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, {
...props,
className: (0, _classnames.default)(prefixCls, props.className),
ref: ref,
component: (0, _utils.eraseDefaultProps)(SVGComponent)
});
});
TfuelCircleColorful.displayName = 'TfuelCircleColorful';