@ant-design/web3-icons
Version:
A collection of Web3 icons.
203 lines (202 loc) • 13.1 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.MtlColorful = 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 _id4 = (0, _react.useUniqueInlineId)();
const _id3 = (0, _react.useUniqueInlineId)();
const _id2 = (0, _react.useUniqueInlineId)();
const _id = (0, _react.useUniqueInlineId)();
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
...props,
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id,
gradientUnits: "userSpaceOnUse",
x1: "-.908",
y1: "226.477",
x2: "805.044",
y2: "310.198",
gradientTransform: "matrix(1 0 0 -1 0 458.4)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#4400E2"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".041",
stopColor: "#7013C5"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".087",
stopColor: "#9A25AA"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".133",
stopColor: "#BC3494"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".18",
stopColor: "#D73F82"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".228",
stopColor: "#EA4876"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".278",
stopColor: "#F54C6E"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".33",
stopColor: "#F94E6C"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#FFD402"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M37.9 0C16.9 0 0 17 0 37.9v380c0 20.9 16.9 37.9 37.9 37.9s37.9-17 37.9-37.9v-380C75.7 17 58.8 0 37.9 0z",
fill: `url(#${_id})`
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id2,
gradientUnits: "userSpaceOnUse",
x1: "4.701",
y1: "172.482",
x2: "810.653",
y2: "256.202",
gradientTransform: "matrix(1 0 0 -1 0 458.4)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#4400E2"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".041",
stopColor: "#7013C5"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".087",
stopColor: "#9A25AA"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".133",
stopColor: "#BC3494"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".18",
stopColor: "#D73F82"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".228",
stopColor: "#EA4876"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".278",
stopColor: "#F54C6E"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".33",
stopColor: "#F94E6C"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#FFD402"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M563.3 0c-20.9 0-37.9 17-37.9 37.9v380c0 20.9 17 37.9 37.9 37.9s37.9-17 37.9-37.9v-380c0-20.9-17-37.9-37.9-37.9z",
fill: `url(#${_id2})`
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id3,
gradientUnits: "userSpaceOnUse",
x1: ".962",
y1: "208.477",
x2: "806.914",
y2: "292.198",
gradientTransform: "matrix(1 0 0 -1 0 458.4)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#4400E2"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".041",
stopColor: "#7013C5"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".087",
stopColor: "#9A25AA"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".133",
stopColor: "#BC3494"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".18",
stopColor: "#D73F82"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".228",
stopColor: "#EA4876"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".278",
stopColor: "#F54C6E"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".33",
stopColor: "#F94E6C"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#FFD402"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M213 79c-20.9 0-37.9 16.9-37.9 37.9v222c0 20.9 17 37.9 37.9 37.9s37.9-17 37.9-37.9v-222c0-20.9-17-37.9-37.9-37.9z",
fill: `url(#${_id3})`
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id4,
gradientUnits: "userSpaceOnUse",
x1: "2.79",
y1: "190.882",
x2: "808.741",
y2: "274.603",
gradientTransform: "matrix(1 0 0 -1 0 458.4)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#4400E2"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".041",
stopColor: "#7013C5"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".087",
stopColor: "#9A25AA"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".133",
stopColor: "#BC3494"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".18",
stopColor: "#D73F82"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".228",
stopColor: "#EA4876"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".278",
stopColor: "#F54C6E"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".33",
stopColor: "#F94E6C"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#FFD402"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M388.2 142.8c-20.9 0-37.9 17-37.9 37.9v93.7c0 20.9 17 37.9 37.9 37.9s37.9-17 37.9-37.9v-93.7c-.1-21-17-37.9-37.9-37.9z",
fill: `url(#${_id4})`
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 601.2 455.8",
xmlSpace: "preserve"
};
/** */
const MtlColorful = exports.MtlColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(_antd.ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-mtl-colorful');
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, {
...props,
className: (0, _classnames.default)(prefixCls, props.className),
ref: ref,
component: (0, _utils.eraseDefaultProps)(SVGComponent)
});
});
MtlColorful.displayName = 'MtlColorful';