@ant-design/web3-icons
Version:
A collection of Web3 icons.
212 lines (211 loc) • 13 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.SoulColorful = 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 _id6 = (0, _react.useUniqueInlineId)();
const _id5 = (0, _react.useUniqueInlineId)();
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.jsx)("path", {
d: "M78.9 0H16C7.2 0 0 7.4 0 16.6v55.2c0 4.8 5.7 7.1 8.8 3.5 3.8-4.4 10.4-4.3 14.1.1l4.9 5.7c2 2.3 5.5 2.3 7.5 0l5.1-5.8c3.8-4.3 10.3-4.3 14.1 0l5.1 5.9c2 2.3 5.5 2.3 7.5 0l5.1-5.9c3.8-4.3 10.3-4.3 14.1 0l.1.1c3.1 3.6 8.8 1.3 8.8-3.5V16.6C94.9 7.4 87.8 0 78.9 0z",
fill: "#88c6de"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M78.9 3.3H16c-8.8 0-16 7.4-16 16.6v55.2c0 4.8 5.7 7.1 8.8 3.5 3.8-4.4 10.4-4.3 14.1.1l4.9 5.7c2 2.3 5.5 2.3 7.5 0l5.1-5.8c3.8-4.3 10.3-4.3 14.1 0l5.1 5.9c2 2.3 5.5 2.3 7.5 0l5.1-5.9c3.8-4.3 10.3-4.3 14.1 0l.1.1c3.1 3.6 8.8 1.3 8.8-3.5V19.9c-.3-9.2-7.4-16.6-16.3-16.6z",
fill: "#6ca2cb"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("circle", {
cx: "29.4",
cy: "31.1",
r: "9.7",
fill: "#fff"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("circle", {
cx: "65.6",
cy: "31.1",
r: "9.7",
fill: "#fff"
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id,
gradientUnits: "userSpaceOnUse",
x1: "57.862",
y1: "56.9",
x2: "73.247",
y2: "56.9",
gradientTransform: "matrix(1 0 0 -1 0 88)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#1eaacc"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#0584b9"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("circle", {
cx: "65.6",
cy: "31.1",
r: "7.7",
opacity: ".5",
fill: `url(#${_id})`,
enableBackground: "new"
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id2,
gradientUnits: "userSpaceOnUse",
x1: "59.444",
y1: "56.9",
x2: "71.665",
y2: "56.9",
gradientTransform: "matrix(1 0 0 -1 0 88)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#1eaacc"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#0584b9"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("circle", {
cx: "65.6",
cy: "31.1",
r: "6.1",
opacity: ".5",
fill: `url(#${_id2})`,
enableBackground: "new"
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id3,
gradientUnits: "userSpaceOnUse",
x1: "61.717",
y1: "56.9",
x2: "69.392",
y2: "56.9",
gradientTransform: "matrix(1 0 0 -1 0 88)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#1eaacc"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#0584b9"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("circle", {
cx: "65.6",
cy: "31.1",
r: "3.8",
opacity: ".5",
fill: `url(#${_id3})`,
enableBackground: "new"
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id4,
gradientUnits: "userSpaceOnUse",
x1: "21.683",
y1: "56.9",
x2: "37.067",
y2: "56.9",
gradientTransform: "matrix(1 0 0 -1 0 88)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#1eaacc"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#0584b9"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("circle", {
cx: "29.4",
cy: "31.1",
r: "7.7",
opacity: ".5",
fill: `url(#${_id4})`,
enableBackground: "new"
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id5,
gradientUnits: "userSpaceOnUse",
x1: "23.265",
y1: "56.9",
x2: "35.486",
y2: "56.9",
gradientTransform: "matrix(1 0 0 -1 0 88)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#1eaacc"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#0584b9"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("circle", {
cx: "29.4",
cy: "31.1",
r: "6.1",
opacity: ".5",
fill: `url(#${_id5})`,
enableBackground: "new"
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id6,
gradientUnits: "userSpaceOnUse",
x1: "25.538",
y1: "56.9",
x2: "33.212",
y2: "56.9",
gradientTransform: "matrix(1 0 0 -1 0 88)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#1eaacc"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#0584b9"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("circle", {
cx: "29.4",
cy: "31.1",
r: "3.8",
opacity: ".5",
fill: `url(#${_id6})`,
enableBackground: "new"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("circle", {
cx: "34.2",
cy: "26",
r: "2.2",
opacity: ".5",
fill: "#fff",
enableBackground: "new"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("circle", {
cx: "70.4",
cy: "26",
r: "2.2",
opacity: ".5",
fill: "#fff",
enableBackground: "new"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 95.2 86.2",
xmlSpace: "preserve",
enableBackground: "new 0 0 95.2 86.2"
};
/** */
const SoulColorful = exports.SoulColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(_antd.ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-soul-colorful');
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, {
...props,
className: (0, _classnames.default)(prefixCls, props.className),
ref: ref,
component: (0, _utils.eraseDefaultProps)(SVGComponent)
});
});
SoulColorful.displayName = 'SoulColorful';