@ant-design/web3-icons
Version:
A collection of Web3 icons.
63 lines (62 loc) • 6.39 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.OgnCircleColorful = 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 _id = (0, _react.useUniqueInlineId)();
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
...props,
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
clipPath: `url(#${_id})`,
fillRule: "evenodd",
clipRule: "evenodd",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M128 0c70.696 0 128 57.309 128 128 0 70.696-57.304 128-128 128C57.313 256 0 198.696 0 128 0 57.313 57.309 0 128 0Z",
fill: "#0074F0"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M164.08 112.569c.94 4.701 1.435 9.858 1.435 15.426 0 29.982-14.065 47.883-37.623 47.883-9.824 0-18.114-3.148-24.364-9.146l82.006-82.116c-2.197-3.895-4.701-7.537-7.522-10.863a66.037 66.037 0 0 0-3.707-3.974l.01-.015c-.169-.163-.347-.322-.51-.485-.381-.371-.742-.757-1.128-1.114l-.025.015c-11.903-11.115-27.215-16.98-44.76-16.98-20.276 0-37.573 7.8-50.015 22.553-11.7 13.877-18.144 33.144-18.144 54.242 0 14.026 2.86 27.22 8.2 38.573l23.796-23.825c-.826-4.513-1.247-9.433-1.247-14.748 0-13.798 2.806-24.958 8.34-33.164 6.483-9.626 16.539-14.718 29.07-14.718 9.755 0 17.876 3.083 24.053 8.809l-81.843 81.957a70.278 70.278 0 0 0 7.77 11.363 70.31 70.31 0 0 0 1.801 2.024l.015.015c.703.767 1.42 1.51 2.148 2.232l.277.277c.233.228.455.47.693.693l.025-.02c11.912 11.349 27.338 17.337 45.056 17.337 20.292 0 37.618-7.8 50.12-22.558 11.764-13.892 18.247-33.159 18.247-54.242 0-14.239-2.969-27.636-8.512-39.123l-23.667 23.697.005-.005Z",
fill: "#fff"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("defs", {
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("clipPath", {
id: _id,
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fill: "#fff",
d: "M0 0h256v256H0z"
})
})
})]
});
};
SVGComponent.defaultProps = {
viewBox: "0 0 256 256",
fill: "none",
xmlns: "http://www.w3.org/2000/svg"
};
/** */
const OgnCircleColorful = exports.OgnCircleColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(_antd.ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-ogn-circle-colorful');
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, {
...props,
className: (0, _classnames.default)(prefixCls, props.className),
ref: ref,
component: (0, _utils.eraseDefaultProps)(SVGComponent)
});
});
OgnCircleColorful.displayName = 'OgnCircleColorful';