@ant-design/web3-icons
Version:
A collection of Web3 icons.
146 lines (145 loc) • 8.98 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.BeamCircleColorful = 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 _id4 = (0, _react.useUniqueInlineId)();
const _id3 = (0, _react.useUniqueInlineId)();
const _id2 = (0, _react.useUniqueInlineId)();
const _id = (0, _react.useUniqueInlineId)();
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
...props,
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("defs", {
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id,
x2: "69.924%",
y1: "50%",
y2: "50%",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
stopColor: "#fff",
stopOpacity: "0",
offset: "0"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
stopColor: "#fff",
offset: "1"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id2,
x1: "96.834%",
x2: "32.057%",
y1: "31.578%",
y2: "34.803%",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
stopColor: "#FD76FD",
stopOpacity: "0",
offset: "0"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
stopColor: "#FF51FF",
offset: "1"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id3,
x1: "95.948%",
x2: "45.029%",
y1: "44.431%",
y2: "44.431%",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
stopColor: "#5300FF",
stopOpacity: "0",
offset: "0"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
stopColor: "#9D6EFF",
offset: "1"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id4,
x1: "96.966%",
x2: "44.149%",
y1: "35.409%",
y2: "42.312%",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
stopColor: "#AE60D6",
stopOpacity: "0",
offset: "0"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
stopColor: "#AB38E6",
offset: "1"
})]
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
fill: "none",
fillRule: "evenodd",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("circle", {
cx: "23.5",
cy: "23.5",
r: "23.5",
fill: "#000"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("circle", {
cx: "23.5",
cy: "23.5",
r: "21.439",
fill: "#000",
stroke: "#fff"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fill: "#0B76FF",
d: "M23.39 28.287h7.87l-7.868-13.633v.002-8.263l15.42 26.281H23.39z"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fill: "#24C1FF",
d: "M23.389 28.287v4.387H7.967l15.42-26.281.002 8.263-.001-.002-7.868 13.633z"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fill: "#39FFF2",
d: "M23.39 18.038v8.647l-4.88.01z"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fill: "#00E2C2",
d: "m23.39 18.038 4.878 8.656-4.878-.009z"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fill: `url(#${_id})`,
d: "m.224 9.179 19.043 7.869v1.101L.224 13.428z",
transform: "translate(4.123 6.184)"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fill: `url(#${_id2})`,
d: "M38.309 5.879 19.267 17.048v.302l19.042-7.856z",
transform: "translate(4.123 6.184)"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fill: `url(#${_id3})`,
d: "m38.294 16.733-19.027 1.415v-.313l19.027-4.722z",
transform: "translate(4.123 6.184)"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fill: `url(#${_id4})`,
d: "m38.309 9.645-19.042 7.723v.467l19.042-4.879z",
transform: "translate(4.123 6.184)"
})]
})]
});
};
SVGComponent.defaultProps = {
viewBox: "0 0 47 47",
xmlns: "http://www.w3.org/2000/svg"
};
/** */
const BeamCircleColorful = exports.BeamCircleColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(_antd.ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-beam-circle-colorful');
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, {
...props,
className: (0, _classnames.default)(prefixCls, props.className),
ref: ref,
component: (0, _utils.eraseDefaultProps)(SVGComponent)
});
});
BeamCircleColorful.displayName = 'BeamCircleColorful';