@ant-design/web3-icons
Version:
A collection of Web3 icons.
120 lines (119 loc) • 9.02 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.OgvCircleColorful = 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 _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.jsx)("mask", {
id: _id,
style: {
maskType: "alpha"
},
maskUnits: "userSpaceOnUse",
x: "0",
y: "0",
width: "300",
height: "300",
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M0 0h300v300H0V0Z",
fill: "#fff"
})
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("g", {
mask: `url(#${_id})`,
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M149.498 0c82.842-.277 150.224 66.655 150.501 149.497.278 82.843-66.654 150.224-149.496 150.502C67.66 300.276.279 233.345.001 150.502-.277 67.66 66.655.278 149.498.001Z",
fill: "#030C17"
})
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
opacity: ".1",
fillRule: "evenodd",
clipRule: "evenodd",
d: "M243.748 243.122c51.425-51.792 51.166-135.448-.626-186.873-51.792-51.424-135.448-51.166-186.873.627l187.499 186.246Z",
fill: "#fff"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "m231.076 105.316-17.055-17.203-9.283 9.43a10.399 10.399 0 0 1-.11-.11l-7.552 7.625-46.451 47.077-29.396-29.8c-6.078 6.335-10.093 14.661-10.977 23.87l40.373 40.925 45.678-46.303c.589 2.947.884 6.004.884 9.135 0 26.007-21.182 47.188-47.188 47.188-26.007 0-47.188-21.181-47.188-47.188s21.181-47.188 47.188-47.188c10.682 0 20.555 3.573 28.474 9.578l20.224-20.518c-13.188-11.051-30.169-17.756-48.698-17.756-41.81 0-75.847 34.038-75.847 75.847 0 41.847 34.037 75.847 75.847 75.847 41.809 0 75.847-34.037 75.847-75.847a75.539 75.539 0 0 0-7.147-32.121l12.377-12.488Z",
fill: "#fff"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("mask", {
id: _id2,
style: {
maskType: "alpha"
},
maskUnits: "userSpaceOnUse",
x: "110",
y: "122",
width: "41",
height: "66",
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "m110.289 146.205 40.336 40.925h.037v-34.994l-29.396-29.802c-6.078 6.336-10.093 14.624-10.977 23.871Z",
fill: "#fff"
})
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("g", {
mask: `url(#${_id2})`,
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "m110.289 146.205 40.336 40.925h.037v-34.994l-29.396-29.802c-6.078 6.336-10.093 14.624-10.977 23.871Z",
fill: `url(#${_id3})`
})
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("defs", {
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id3,
x1: "90.077",
y1: "151.637",
x2: "132.36",
y2: "166.361",
gradientUnits: "userSpaceOnUse",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
stopColor: "#1C313F"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#fff"
})]
})
})]
});
};
SVGComponent.defaultProps = {
viewBox: "0 0 300 300",
fill: "none",
xmlns: "http://www.w3.org/2000/svg"
};
/** */
const OgvCircleColorful = exports.OgvCircleColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(_antd.ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-ogv-circle-colorful');
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, {
...props,
className: (0, _classnames.default)(prefixCls, props.className),
ref: ref,
component: (0, _utils.eraseDefaultProps)(SVGComponent)
});
});
OgvCircleColorful.displayName = 'OgvCircleColorful';