@ant-design/web3-icons
Version:
A collection of Web3 icons.
87 lines (86 loc) • 7.78 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.IcpColorful = 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.jsxs)("linearGradient", {
id: _id,
gradientUnits: "userSpaceOnUse",
x1: "224.785",
y1: "257.754",
x2: "348.066",
y2: "133.458",
gradientTransform: "matrix(1 0 0 -1 0 272)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".21",
stopColor: "#f15a24"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".684",
stopColor: "#fbb03b"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M271.6 0c-20 0-41.9 10.9-65 32.4-10.9 10.1-20.5 21.1-27.5 29.8 0 0 11.2 12.9 23.5 26.8 6.7-8.4 16.2-19.8 27.3-30.1 20.5-19.2 33.9-23.1 41.6-23.1 28.8 0 52.2 24.2 52.2 54.1 0 29.6-23.4 53.8-52.2 54.1-1.4 0-3-.2-5-.6 8.4 3.9 17.5 6.7 26 6.7 52.8 0 63.2-36.5 63.8-39.1 1.5-6.7 2.4-13.7 2.4-20.9C358.6 40.4 319.6 0 271.6 0z",
fill: `url(#${_id})`
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id2,
gradientUnits: "userSpaceOnUse",
x1: "133.946",
y1: "106.426",
x2: "10.665",
y2: "230.721",
gradientTransform: "matrix(1 0 0 -1 0 272)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".21",
stopColor: "#ed1e79"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".893",
stopColor: "#522785"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M87.1 179.8c20 0 41.9-10.9 65-32.4 10.9-10.1 20.5-21.1 27.5-29.8 0 0-11.2-12.9-23.5-26.8-6.7 8.4-16.2 19.8-27.3 30.1-20.5 19-34 23.1-41.6 23.1C58.4 144 35 119.8 35 89.9c0-29.6 23.4-53.8 52.2-54.1 1.4 0 3 .2 5 .6-8.4-3.9-17.5-6.7-26-6.7C13.4 29.6 3 66.1 2.4 68.8.9 75.5 0 82.5 0 89.7c0 49.7 39 90.1 87.1 90.1z",
fill: `url(#${_id2})`
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M127.3 59.7c-5.8-5.6-34-28.5-61-29.3C18.1 29.2 4 64.2 2.7 68.7 12 29.5 46.4.2 87.2 0c33.3 0 67 32.7 91.9 62.2l.1-.1s11.2 12.9 23.5 26.8c0 0 14 16.5 28.8 31 5.8 5.6 33.9 28.2 60.9 29 49.5 1.4 63.2-35.6 63.9-38.4-9.1 39.5-43.6 68.9-84.6 69.1-33.3 0-67-32.7-92-62.2 0 .1-.1.1-.1.2 0 0-11.2-12.9-23.5-26.8.1 0-13.9-16.6-28.8-31.1zM2.7 69.1c0-.1 0-.2.1-.3-.1.1-.1.2-.1.3z",
fillRule: "evenodd",
clipRule: "evenodd",
fill: "#29abe2"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 358.8 179.8",
xmlSpace: "preserve",
enableBackground: "new 0 0 358.8 179.8"
};
/** */
const IcpColorful = exports.IcpColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(_antd.ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-icp-colorful');
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, {
...props,
className: (0, _classnames.default)(prefixCls, props.className),
ref: ref,
component: (0, _utils.eraseDefaultProps)(SVGComponent)
});
});
IcpColorful.displayName = 'IcpColorful';