UNPKG

@ant-design/web3-icons

Version:
56 lines (55 loc) 3.39 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BatColorful = 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", { fill: "#662d91", d: "m2000 1716.64-995.21-569.86L0 1719l2000-2.36z" }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", { fill: "#9e1f63", d: "m1005.11 0-.32 1146.78L2000 1716.64 1005.11 0z" }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", { fill: "#ff5000", d: "m0 1719 1004.79-572.22L1005.11 0 0 1719z" }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", { fill: "#fff", stroke: "#ff5000", strokeMiterlimit: "10", strokeWidth: "25", d: "M1002.75 695.67 591.9 1381.92h823.54l-412.69-686.25z" })] }); }; SVGComponent.defaultProps = { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 2000 1719" }; /**![BatColorful](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDIwMDAgMTcxOSIgPjxwYXRoIGZpbGw9IiM2NjJkOTEiIGQ9Ik0yMDAwIDE3MTYuNjQgMTAwNC43OSAxMTQ2Ljc4IDAgMTcxOSAyMDAwIDE3MTYuNjR6Ii8+PHBhdGggZmlsbD0iIzllMWY2MyIgZD0iTTEwMDUuMTEgMCAxMDA0Ljc5IDExNDYuNzggMjAwMCAxNzE2LjY0IDEwMDUuMTEgMHoiLz48cGF0aCBmaWxsPSIjZmY1MDAwIiBkPSJNMCAxNzE5IDEwMDQuNzkgMTE0Ni43OCAxMDA1LjExIDAgMCAxNzE5eiIvPjxwYXRoIGZpbGw9IiNmZmYiIHN0cm9rZT0iI2ZmNTAwMCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBzdHJva2Utd2lkdGg9IjI1IiBkPSJtMTAwMi43NSA2OTUuNjdsLTQxMC44NSA2ODYuMjVoODIzLjU0bC00MTIuNjktNjg2LjI1eiIvPjwvc3ZnPg==) */ const BatColorful = exports.BatColorful = /*#__PURE__*/React.forwardRef((props, ref) => { const { getPrefixCls } = React.useContext(_antd.ConfigProvider.ConfigContext); const prefixCls = getPrefixCls('web3-icon-bat-colorful'); return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, { ...props, className: (0, _classnames.default)(prefixCls, props.className), ref: ref, component: (0, _utils.eraseDefaultProps)(SVGComponent) }); }); BatColorful.displayName = 'BatColorful';