@ant-design/web3-icons
Version:
A collection of Web3 icons.
119 lines (118 loc) • 10.3 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.EnsColorful = 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 _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: "42.042",
y1: "762.588",
x2: "12.66",
y2: "794.44",
gradientTransform: "translate(-6 -761.64)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".58",
stopColor: "#a0a8d4"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".73",
stopColor: "#8791c7"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".91",
stopColor: "#6470b4"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M9.3 32.8c.8 1.7 2.8 5.1 2.8 5.1L35 0 12.7 15.6c-1.3.9-2.4 2.1-3.2 3.5-2.1 4.3-2.1 9.3-.2 13.7z",
fill: `url(#${_id})`
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M.3 45.2c.5 7.3 4.2 14.1 10 18.5L35 80.9S19.5 58.6 6.5 36.4c-1.3-2.3-2.2-4.9-2.6-7.6-.2-1.2-.2-2.4 0-3.6-.3.6-1 1.9-1 1.9C1.6 29.8.7 32.7.2 35.7c-.3 3.2-.3 6.4.1 9.5z",
fill: "#a0a8d4"
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id2,
gradientUnits: "userSpaceOnUse",
x1: "42.659",
y1: "841.659",
x2: "72.029",
y2: "809.829",
gradientTransform: "translate(-6 -761.64)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".58",
stopColor: "#a0a8d4"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".73",
stopColor: "#8791c7"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".91",
stopColor: "#6470b4"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M63.3 48.2c-.8-1.7-2.8-5.1-2.8-5.1L37.6 80.9 60 65.4c1.3-.9 2.4-2.1 3.2-3.5 2-4.3 2.1-9.3.1-13.7z",
fill: `url(#${_id2})`
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M72.4 35.7c-.5-7.3-4.2-14.1-10-18.5L37.7 0s15.5 22.3 28.5 44.5c1.3 2.3 2.2 4.9 2.6 7.6.2 1.2.2 2.4 0 3.6.3-.6 1-1.9 1-1.9 1.3-2.7 2.2-5.6 2.7-8.5.2-3.3.2-6.4-.1-9.6z",
fill: "#a0a8d4"
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id3,
gradientUnits: "userSpaceOnUse",
x1: "42.323",
y1: "761.24",
x2: "42.323",
y2: "842.84",
gradientTransform: "translate(-6 -761.64)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#513eff"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".18",
stopColor: "#5157ff"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".57",
stopColor: "#5298ff"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#52e5ff"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M9.5 19.1c.8-1.4 1.8-2.6 3.2-3.5L35 0 12.1 37.8s-2-3.4-2.8-5.1c-1.9-4.3-1.9-9.3.2-13.6zM.3 45.2c.5 7.3 4.2 14.1 10 18.5L35 80.9S19.5 58.6 6.5 36.4c-1.3-2.3-2.2-4.9-2.6-7.6-.2-1.2-.2-2.4 0-3.6-.3.6-1 1.9-1 1.9C1.6 29.8.7 32.7.2 35.7c-.3 3.2-.3 6.4.1 9.5zm63 3c-.8-1.7-2.8-5.1-2.8-5.1L37.6 80.9 60 65.4c1.3-.9 2.4-2.1 3.2-3.5 2-4.3 2.1-9.3.1-13.7zm9-12.4c-.5-7.3-4.2-14.1-10-18.5L37.7 0s15.5 22.3 28.5 44.5c1.3 2.3 2.2 4.9 2.6 7.6.2 1.2.2 2.4 0 3.6.3-.6 1-1.9 1-1.9 1.3-2.7 2.2-5.6 2.7-8.5.2-3.3.2-6.4-.2-9.5z",
fill: `url(#${_id3})`
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 72.7 80.9",
xmlSpace: "preserve",
enableBackground: "new 0 0 72.7 80.9"
};
/** */
const EnsColorful = exports.EnsColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(_antd.ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-ens-colorful');
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, {
...props,
className: (0, _classnames.default)(prefixCls, props.className),
ref: ref,
component: (0, _utils.eraseDefaultProps)(SVGComponent)
});
});
EnsColorful.displayName = 'EnsColorful';