@ant-design/web3-icons
Version:
A collection of Web3 icons.
81 lines (80 loc) • 6.25 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.EthereumCircleColorful = void 0;
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) {
return /*#__PURE__*/(0, _jsxRuntime.jsx)("svg", {
...props,
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
fill: "none",
fillRule: "evenodd",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("rect", {
width: "1024",
height: "1024",
rx: "512",
fill: "#587EF2",
fillRule: "nonzero"
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("circle", {
cx: "512",
cy: "512",
r: "512"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fill: "#BDCCFB",
fillRule: "nonzero",
d: "m511.962 182.857-4.527 15.002v435.273l4.527 4.407L719.11 518.107z"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fill: "#FFF",
fillRule: "nonzero",
d: "m511.915 182.857-207.153 335.25L511.915 637.54v-211.27z"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fill: "#BDCCFB",
fillRule: "nonzero",
d: "m511.962 675.791-2.551 3.036v155.05l2.551 7.267 207.275-284.722z"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fill: "#FFF",
fillRule: "nonzero",
d: "M511.915 841.144V675.791L304.762 556.422z"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fill: "#7A98F5",
fillRule: "nonzero",
d: "m511.887 637.531 207.148-119.43-207.148-91.84z"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fill: "#BDCCFB",
fillRule: "nonzero",
d: "m304.762 518.101 207.153 119.43v-211.27z"
})]
})]
})
});
};
SVGComponent.defaultProps = {
viewBox: "0 0 1024 1024",
xmlns: "http://www.w3.org/2000/svg"
};
/** */
const EthereumCircleColorful = exports.EthereumCircleColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(_antd.ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-ethereum-circle-colorful');
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, {
...props,
className: (0, _classnames.default)(prefixCls, props.className),
ref: ref,
component: (0, _utils.eraseDefaultProps)(SVGComponent)
});
});
EthereumCircleColorful.displayName = 'EthereumCircleColorful';