@ant-design/web3-icons
Version:
A collection of Web3 icons.
48 lines (47 loc) • 3.94 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.OmniColorful = 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: "#1c347a",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M298.93 149.46a149.52 149.52 0 0 1-149.46 149.38c-82.61 0-150-67.21-149.47-150.35C.54 65.87 67.93-.09 149.65 0c81 .09 149.1 65.61 149.28 149.46zm-39.7 0a110 110 0 0 0-109.5-109.85c-60.26-.17-110 48.88-110 109.68-.09 61 49.49 109.31 108.6 109.94a110.11 110.11 0 0 0 110.9-109.77z"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M236.85 12.32c16.56-.17 33.12-.17 49.68-.17V62a170.57 170.57 0 0 0-49.68-49.68zm49.68 224.53V287h-49.68a169.79 169.79 0 0 0 49.68-50.15zM62.09 12.37a168.59 168.59 0 0 0-49.94 49.5V12.46c1.06-.35 46.46-.46 49.94-.09zm-.22 274.34H12.46c-.35-1.16-.44-47.81-.09-49.86a169.49 169.49 0 0 0 49.5 49.86z"
})]
})
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 298.93 298.84"
};
/** */
const OmniColorful = exports.OmniColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(_antd.ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-omni-colorful');
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, {
...props,
className: (0, _classnames.default)(prefixCls, props.className),
ref: ref,
component: (0, _utils.eraseDefaultProps)(SVGComponent)
});
});
OmniColorful.displayName = 'OmniColorful';