@ant-design/web3-icons
Version:
A collection of Web3 icons.
67 lines (66 loc) • 5.92 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.ImxColorful = 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.jsx)("defs", {
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
id: _id,
d: "M0 0h139v113H0z"
})
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("clipPath", {
id: _id2,
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("use", {
xlinkHref: `#${_id}`,
overflow: "visible"
})
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
clipPath: `url(#${_id2})`,
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M124.1 0h14.6L79.5 67.6c-1.5 1.7-1.6 4.3-.1 6.1l34.1 39.7H98.3L66.8 76.6l-1.6-2c-1.5-1.7-1.4-4.4.1-6.1L124.1 0z",
fill: "#17b5cb"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M91.2 73.7c-1-1.1-1.3-2.7-1-4.1.3-.8.8-1.6 1.4-2.2l3.9-4.3 43.5 50.3h-13.8s-25.5-29.8-34-39.7zM15.2 113.4H0l46.6-53.9c1.5-1.7 1.5-4.3 0-6L.4 0H15l46.5 53.9c1.2 1.6 1.4 3.9.1 5.4-12.2 14.1-46.4 54.1-46.4 54.1zM40.6 0h-14l43.1 49.9s.1-.1 4.9-5.8c1.3-1.5 1.6-3.4.1-4.9C65.7 30 40.6 0 40.6 0zM82.6 34.8 112.5 0H98.3L82.7 18.2l-4.5 5.3c-1.5 1.7-1.6 4.3-.1 6.1 1.1 1.3 4.5 5.2 4.5 5.2zM56.6 78.6l-29.9 34.8h14.1l15.6-18.2 4.5-5.3c1.5-1.7 1.6-4.3.1-6.1l-4.4-5.2z",
fill: "#17b5cb"
})]
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
xmlnsXlink: "http://www.w3.org/1999/xlink",
viewBox: "0 0 139 113",
xmlSpace: "preserve",
enableBackground: "new 0 0 139 113"
};
/** */
const ImxColorful = exports.ImxColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(_antd.ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-imx-colorful');
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, {
...props,
className: (0, _classnames.default)(prefixCls, props.className),
ref: ref,
component: (0, _utils.eraseDefaultProps)(SVGComponent)
});
});
ImxColorful.displayName = 'ImxColorful';