@ant-design/web3-icons
Version:
A collection of Web3 icons.
48 lines (47 loc) • 7.94 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.MagicColorful = 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 12.542V27.7a7.012 7.012 0 0 0 3.488 6.072l9.935 5.767a5.121 5.121 0 0 0 5.154 0l9.935-5.767A7.031 7.031 0 0 0 32 27.7V12.542a7.012 7.012 0 0 0-3.488-6.071L18.577.696a5.121 5.121 0 0 0-5.154 0L3.488 6.463A7.034 7.034 0 0 0 0 12.542Z",
fill: "#dc2626"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "m28.132 19.72-3.65-1.248a3.992 3.992 0 0 1-2.62-2.992L20.32 7.826a.417.417 0 0 0-.41-.335.417.417 0 0 0-.412.335l-1.542 7.654a3.992 3.992 0 0 1-2.62 2.992l-3.65 1.247a.412.412 0 0 0-.279.398c0 .18.116.335.28.397l3.65 1.247a3.992 3.992 0 0 1 2.62 2.993l1.541 7.653c.04.195.21.336.411.336.202 0 .372-.14.41-.336l1.543-7.653a3.992 3.992 0 0 1 2.62-2.993l3.65-1.247a.412.412 0 0 0 .279-.397.43.43 0 0 0-.28-.398zM8.493 12.698l1.287.436c.473.164.83.561.922 1.06l.543 2.705a.15.15 0 0 0 .147.116.15.15 0 0 0 .147-.116l.543-2.705c.1-.49.45-.896.93-1.06l1.286-.436a.15.15 0 0 0 .1-.14.15.15 0 0 0-.1-.14l-1.286-.437a1.418 1.418 0 0 1-.93-1.06l-.543-2.704a.15.15 0 0 0-.147-.117.15.15 0 0 0-.147.117l-.543 2.704c-.1.49-.45.896-.922 1.06l-1.287.436a.15.15 0 0 0-.1.14.15.15 0 0 0 .1.14M11.5 25.978l-1.728-.584a1.888 1.888 0 0 1-1.24-1.419l-.728-3.624a.193.193 0 0 0-.194-.156.193.193 0 0 0-.194.156l-.728 3.624a1.888 1.888 0 0 1-1.24 1.419l-1.728.584a.194.194 0 0 0-.132.187c0 .086.054.164.132.187l1.728.585a1.888 1.888 0 0 1 1.24 1.418l.728 3.624c.016.094.101.156.194.156s.17-.07.194-.156l.728-3.624c.132-.662.605-1.2 1.24-1.418l1.729-.585a.194.194 0 0 0 .131-.187.194.194 0 0 0-.131-.187z",
fill: "#fffdf7"
})]
});
};
SVGComponent.defaultProps = {
viewBox: "0 0 32 40.235",
fill: "none",
xmlns: "http://www.w3.org/2000/svg"
};
/** */
const MagicColorful = exports.MagicColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(_antd.ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-magic-colorful');
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, {
...props,
className: (0, _classnames.default)(prefixCls, props.className),
ref: ref,
component: (0, _utils.eraseDefaultProps)(SVGComponent)
});
});
MagicColorful.displayName = 'MagicColorful';