UNPKG

@ant-design/web3-icons

Version:
46 lines (45 loc) 3.11 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.VlxColorful = 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.jsx)("svg", { ...props, children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", { d: "M28.9 13.9 21 27.7l-7.9-13.9h15.8zm7.9-4.7H5.2L21 37 36.8 9.2zM0 0l2.6 4.6h36.7L42 0H0z", fill: "#0037c1" }) }); }; SVGComponent.defaultProps = { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 42 37", xmlSpace: "preserve", enableBackground: "new 0 0 42 37" }; /**![VlxColorful](data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI0LjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHdpZHRoPSI1MCIgaGVpZ2h0PSI1MCIgZmlsbD0iI2NhY2FjYSIgdmVyc2lvbj0iMS4xIiBpZD0iYW50LXdlYjMtaWNvbi12bHgtY29sb3JmdWwtTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiIHZpZXdCb3g9IjAgMCA0MiAzNyIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNDIgMzc7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KCjxwYXRoIGQ9Ik0yOC45LDEzLjlMMjEsMjcuN2wtNy45LTEzLjlIMjguOXogTTM2LjgsOS4ySDUuMkwyMSwzN0wzNi44LDkuMnogTTAsMGwyLjYsNC42aDM2LjdMNDIsMEgweiIgc3R5bGU9ImZpbGw6ICMwMDM3QzE7Ii8+Cjwvc3ZnPgo=) */ const VlxColorful = exports.VlxColorful = /*#__PURE__*/React.forwardRef((props, ref) => { const { getPrefixCls } = React.useContext(_antd.ConfigProvider.ConfigContext); const prefixCls = getPrefixCls('web3-icon-vlx-colorful'); return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, { ...props, className: (0, _classnames.default)(prefixCls, props.className), ref: ref, component: (0, _utils.eraseDefaultProps)(SVGComponent) }); }); VlxColorful.displayName = 'VlxColorful';