@ant-design/web3-icons
Version:
A collection of Web3 icons.
94 lines (93 loc) • 7.2 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.CotiCircleColorful = 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.jsx)("path", {
d: "M1750 0c966.5 0 1750 783.5 1750 1750s-783.5 1750-1750 1750S0 2716.5 0 1750 783.5 0 1750 0z",
fill: "#00467a"
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id,
gradientUnits: "userSpaceOnUse",
x1: "1480.345",
y1: "249.463",
x2: "1252.889",
y2: "1538.512",
gradientTransform: "matrix(1 0 0 -1 0 2554)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".1",
stopColor: "#194aad"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".5",
stopColor: "#248fcb"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".8",
stopColor: "#2bbfdf"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M762.6 1521.6c-35.1 0-50.7 15.6-50.7 46.8v803.7c0 35.1 15.6 46.8 50.7 46.8 386.3 3.9 858.3-339.4 1248.5-608.6V881.7c-386.2 265.3-870 643.8-1248.5 639.9z",
fill: `url(#${_id})`
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id2,
gradientUnits: "userSpaceOnUse",
x1: "3511.147",
y1: "-1272.658",
x2: "3811.925",
y2: "432.942",
gradientTransform: "matrix(-1 0 0 1 5851.79 2174.83)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".1",
stopColor: "#194aad"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".5",
stopColor: "#248fcb"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".8",
stopColor: "#2bbfdf"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M2795.3 1884.4c35.1 0 50.7-15.6 50.7-46.8v-803.7c0-35.1-15.6-46.8-50.7-46.8-390.2-3.9-858.3 339.4-1248.5 608.6v924.7c386.3-265.3 870.1-643.8 1248.5-636z",
fill: `url(#${_id2})`
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M2011.1 1810.3v-530.6c-160 101.4-319.9 210.7-468.2 312.1v530.6c163.9-101.4 320-210.7 468.2-312.1z",
fill: "#194aad"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 3500 3500",
xmlSpace: "preserve",
enableBackground: "new 0 0 3500 3500"
};
/** */
const CotiCircleColorful = exports.CotiCircleColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(_antd.ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-coti-circle-colorful');
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, {
...props,
className: (0, _classnames.default)(prefixCls, props.className),
ref: ref,
component: (0, _utils.eraseDefaultProps)(SVGComponent)
});
});
CotiCircleColorful.displayName = 'CotiCircleColorful';