@ant-design/web3-icons
Version:
A collection of Web3 icons.
93 lines (92 loc) • 9.09 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.WldCircleColorful = 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 _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.jsx)("clipPath", {
id: _id,
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M0 0h800v800H0z"
})
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("clipPath", {
id: _id2,
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M0 0h1728v1728H0Z"
})
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("g", {
clipPath: `url(#${_id})`,
transform: "translate(-99.69 -99.947)",
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
clipPath: `url(#${_id2})`,
transform: "translate(-668.3 -668.509) scale(1.2367)",
display: "block",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
strokeLinecap: "round",
strokeMiterlimit: "10",
stroke: "#000",
strokeWidth: "35",
d: "m119.067-87.47-145.507.23c-48.18 0-87.24 39.06-87.24 87.24 0 48.18 39.06 87.24 87.24 87.24h140.12",
fill: "none",
transform: "matrix(1.29947 0 0 1.29947 895.78 864)",
display: "block"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
strokeLinecap: "round",
strokeMiterlimit: "10",
stroke: "#000",
strokeWidth: "35",
d: "M2.309 17.5H338.42",
fill: "none",
transform: "matrix(1.29947 0 0 1.29947 643.74 841.26)",
display: "block"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
strokeLinecap: "round",
strokeMiterlimit: "10",
stroke: "#000",
strokeWidth: "35",
d: "M0-169.21c93.452 0 169.21 75.758 169.21 169.21 0 93.452-75.758 169.21-169.21 169.21-93.452 0-169.21-75.758-169.21-169.21 0-93.452 75.758-169.21 169.21-169.21Z",
fill: "none",
transform: "matrix(1.29947 0 0 1.29947 863.623 864)",
display: "block"
})]
})
})]
});
};
SVGComponent.defaultProps = {
viewBox: "0 0 600.106 600.106",
preserveAspectRatio: "xMidYMid",
xmlns: "http://www.w3.org/2000/svg"
};
/** */
const WldCircleColorful = exports.WldCircleColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(_antd.ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-wld-circle-colorful');
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, {
...props,
className: (0, _classnames.default)(prefixCls, props.className),
ref: ref,
component: (0, _utils.eraseDefaultProps)(SVGComponent)
});
});
WldCircleColorful.displayName = 'WldCircleColorful';