@ant-design/web3-icons
Version:
A collection of Web3 icons.
183 lines (182 loc) • 12.9 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.PnkColorful = 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.jsx)("path", {
d: "M641.4 18.1 236 0 0 294.8l165.4 394.1 409.4 24.8 233.1-331.5z",
opacity: ".7",
fill: "#45464d",
enableBackground: "new"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M807.9 382.6 577 148.4l-60.8 449.3z",
fill: "#656569"
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id,
gradientUnits: "userSpaceOnUse",
x1: "157.357",
y1: "351.118",
x2: "576.977",
y2: "351.118",
gradientTransform: "matrix(1 0 0 -1 0 724.16)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#a3a2a5"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".271",
stopColor: "#9f9ea0"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".561",
stopColor: "#929194"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".859",
stopColor: "#7c7c80"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#707073"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M157.4 329.9 577 148.4l-60.8 449.3z",
fill: `url(#${_id})`
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id2,
gradientUnits: "userSpaceOnUse",
x1: "154.582",
y1: "400.248",
x2: "452.734",
y2: "695.523",
gradientTransform: "matrix(1 0 0 -1 0 724.16)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#969598"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".34",
stopColor: "#908f92"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".792",
stopColor: "#7f7f82"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#757578"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M577 148.4 236 .4l-78.6 329.5z",
fill: `url(#${_id2})`
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id3,
gradientUnits: "userSpaceOnUse",
x1: "177.562",
y1: "404.415",
x2: "336.832",
y2: "88.575",
gradientTransform: "matrix(1 0 0 -1 0 724.16)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#9e9ea0"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".276",
stopColor: "#9b9b9d"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".494",
stopColor: "#919194"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".692",
stopColor: "#808083"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".878",
stopColor: "#69696d"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#55565a"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "m157.4 329.9 8 359.4 350.8-91.6z",
fill: `url(#${_id3})`
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "m577 148.4 64.4-129.9L236 .4z",
fill: "#757578"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "m641.4 18.5 166.5 364.1L577 148.4zM807.9 382.6 574.8 714.1l-58.6-116.4z",
fill: "#6c6d70"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "m574.8 714.1-409.4-24.8 350.8-91.6zM236 .4 0 295.3l157.4 34.6z",
fill: "#55565a"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "m0 295.3 165.4 394-8-359.4z",
fill: "#656569"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "m534 210.3-42.5 322.1-250.7-193.9zM500.1 146.1l-234.3-101-49.3 212.3z",
opacity: ".7",
fill: "#151a22",
enableBackground: "new"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M440.7 581.1 186 399.2l6.2 246.5zM765.1 381.8 591.6 205.6l-45.8 338.8z",
opacity: ".7",
fill: "#23262e",
enableBackground: "new"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "m500.4 620.8 37.8 72.3-252.6-16.2z",
opacity: ".7",
fill: "#43444b",
enableBackground: "new"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "m731.2 461.7-188 140.2 37.4 73zM642.3 69.4l99.4 213.2-135.9-138.2z",
opacity: ".7",
fill: "#34363d",
enableBackground: "new"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M596.8 33.5 555 110 358.1 23.8z",
opacity: ".7",
fill: "#36383f",
enableBackground: "new"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "m202.6 68.2-55.4 234.9-111.8-23.7z",
opacity: ".7",
fill: "#3b3c43",
enableBackground: "new"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "m140.4 344.5 4.9 252.4L28.1 320.7z",
opacity: ".7",
fill: "#45464d",
enableBackground: "new"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 807.9 714.1",
xmlSpace: "preserve",
enableBackground: "new 0 0 807.9 714.1"
};
/** */
const PnkColorful = exports.PnkColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(_antd.ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-pnk-colorful');
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, {
...props,
className: (0, _classnames.default)(prefixCls, props.className),
ref: ref,
component: (0, _utils.eraseDefaultProps)(SVGComponent)
});
});
PnkColorful.displayName = 'PnkColorful';