@ant-design/web3-icons
Version:
A collection of Web3 icons.
175 lines • 11.2 kB
JavaScript
import { useUniqueInlineId } from '@inline-svg-unique-id/react';
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
import * as React from 'react';
import AntdIcon from '@ant-design/icons';
import { ConfigProvider } from 'antd';
import classnames from 'classnames';
import { eraseDefaultProps } from "../utils";
import { jsx as _jsx } from "react/jsx-runtime";
import { jsxs as _jsxs } from "react/jsx-runtime";
var SVGComponent = function SVGComponent(props) {
const _id3 = useUniqueInlineId();
const _id2 = useUniqueInlineId();
const _id = useUniqueInlineId();
return /*#__PURE__*/_jsxs("svg", {
...props,
children: [/*#__PURE__*/_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__*/_jsx("path", {
d: "M807.9 382.6 577 148.4l-60.8 449.3z",
fill: "#656569"
}), /*#__PURE__*/_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__*/_jsx("stop", {
offset: "0",
stopColor: "#a3a2a5"
}), /*#__PURE__*/_jsx("stop", {
offset: ".271",
stopColor: "#9f9ea0"
}), /*#__PURE__*/_jsx("stop", {
offset: ".561",
stopColor: "#929194"
}), /*#__PURE__*/_jsx("stop", {
offset: ".859",
stopColor: "#7c7c80"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#707073"
})]
}), /*#__PURE__*/_jsx("path", {
d: "M157.4 329.9 577 148.4l-60.8 449.3z",
fill: `url(#${_id})`
}), /*#__PURE__*/_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__*/_jsx("stop", {
offset: "0",
stopColor: "#969598"
}), /*#__PURE__*/_jsx("stop", {
offset: ".34",
stopColor: "#908f92"
}), /*#__PURE__*/_jsx("stop", {
offset: ".792",
stopColor: "#7f7f82"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#757578"
})]
}), /*#__PURE__*/_jsx("path", {
d: "M577 148.4 236 .4l-78.6 329.5z",
fill: `url(#${_id2})`
}), /*#__PURE__*/_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__*/_jsx("stop", {
offset: "0",
stopColor: "#9e9ea0"
}), /*#__PURE__*/_jsx("stop", {
offset: ".276",
stopColor: "#9b9b9d"
}), /*#__PURE__*/_jsx("stop", {
offset: ".494",
stopColor: "#919194"
}), /*#__PURE__*/_jsx("stop", {
offset: ".692",
stopColor: "#808083"
}), /*#__PURE__*/_jsx("stop", {
offset: ".878",
stopColor: "#69696d"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#55565a"
})]
}), /*#__PURE__*/_jsx("path", {
d: "m157.4 329.9 8 359.4 350.8-91.6z",
fill: `url(#${_id3})`
}), /*#__PURE__*/_jsx("path", {
d: "m577 148.4 64.4-129.9L236 .4z",
fill: "#757578"
}), /*#__PURE__*/_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__*/_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__*/_jsx("path", {
d: "m0 295.3 165.4 394-8-359.4z",
fill: "#656569"
}), /*#__PURE__*/_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__*/_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__*/_jsx("path", {
d: "m500.4 620.8 37.8 72.3-252.6-16.2z",
opacity: ".7",
fill: "#43444b",
enableBackground: "new"
}), /*#__PURE__*/_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__*/_jsx("path", {
d: "M596.8 33.5 555 110 358.1 23.8z",
opacity: ".7",
fill: "#36383f",
enableBackground: "new"
}), /*#__PURE__*/_jsx("path", {
d: "m202.6 68.2-55.4 234.9-111.8-23.7z",
opacity: ".7",
fill: "#3b3c43",
enableBackground: "new"
}), /*#__PURE__*/_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"
};
/** */
export const PnkColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-pnk-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
PnkColorful.displayName = 'PnkColorful';