@ant-design/web3-icons
Version:
A collection of Web3 icons.
51 lines (50 loc) • 4.46 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.UosColorful = 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.jsxs)("svg", {
...props,
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M0 22.5C0 14.1 0 9.9 1.8 6.8c1.2-2.1 2.9-3.8 5-5C9.9 0 14.1 0 22.5 0s12.6 0 15.8 1.8c2 1.2 3.7 2.9 4.9 5C45 9.9 45 14.1 45 22.5s0 12.6-1.8 15.8c-1.2 2.1-2.9 3.8-4.9 4.9C35.1 45 30.9 45 22.5 45S9.9 45 6.8 43.2c-2.1-1.2-3.8-2.9-5-5C0 35.1 0 30.9 0 22.5z",
fill: "#7a52d1"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M12 23v-8.5h4.2V23c0 2.2.6 3.6 1.7 4.6 1.1 1 2.5 1.6 4.6 1.6 2.2 0 3.6-.6 4.6-1.6 1-1 1.7-2.5 1.7-4.7v-8.5H33V23c0 3-.9 5.7-2.9 7.6-2 1.9-4.5 2.8-7.6 2.8-3 0-5.6-.9-7.6-2.8S12 26 12 23zm12.6-.1v-8.3h-4.2v8.3c0 .8.2 1.3.6 1.7.4.4.8.6 1.5.6s1.2-.2 1.5-.6c.4-.4.6-.9.6-1.7z",
fillRule: "evenodd",
clipRule: "evenodd",
fill: "#fff"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 45 45",
xmlSpace: "preserve",
enableBackground: "new 0 0 45 45"
};
/** */
const UosColorful = exports.UosColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(_antd.ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-uos-colorful');
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, {
...props,
className: (0, _classnames.default)(prefixCls, props.className),
ref: ref,
component: (0, _utils.eraseDefaultProps)(SVGComponent)
});
});
UosColorful.displayName = 'UosColorful';