@ant-design/web3-icons
Version:
A collection of Web3 icons.
112 lines • 9.49 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__*/_jsxs("defs", {
children: [/*#__PURE__*/_jsxs("linearGradient", {
id: _id,
x1: "91.875%",
x2: "5.116%",
y1: "29.048%",
y2: "67.268%",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0%",
stopColor: "#201C1B"
}), /*#__PURE__*/_jsx("stop", {
offset: "36%",
stopColor: "#77390D"
}), /*#__PURE__*/_jsx("stop", {
offset: "67%",
stopColor: "#EA8101"
}), /*#__PURE__*/_jsx("stop", {
offset: "100%",
stopColor: "#F4B852"
})]
}), /*#__PURE__*/_jsxs("linearGradient", {
id: _id2,
x1: "10.514%",
x2: "111.063%",
y1: "63.316%",
y2: "37.685%",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0%",
stopColor: "#1F1D1C"
}), /*#__PURE__*/_jsx("stop", {
offset: "37%",
stopColor: "#77390D"
}), /*#__PURE__*/_jsx("stop", {
offset: "67%",
stopColor: "#EA8101"
}), /*#__PURE__*/_jsx("stop", {
offset: "100%",
stopColor: "#F4FB52"
})]
}), /*#__PURE__*/_jsxs("radialGradient", {
id: _id3,
cx: "50%",
cy: "50.045%",
r: "50%",
fx: "50%",
fy: "50.045%",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0%",
stopColor: "#F4B852"
}), /*#__PURE__*/_jsx("stop", {
offset: "33%",
stopColor: "#EA8101"
}), /*#__PURE__*/_jsx("stop", {
offset: "64%",
stopColor: "#77390D"
}), /*#__PURE__*/_jsx("stop", {
offset: "100%",
stopColor: "#211C1D"
})]
})]
}), /*#__PURE__*/_jsxs("g", {
fill: "none",
transform: "translate(111)",
children: [/*#__PURE__*/_jsx("path", {
fill: `url(#${_id})`,
d: "m566.17 92.126 210.145 208.135c17.888 17.68 26.693 35.567 26.422 53.593-.284 18.026-7.98 34.458-23.025 49.364-15.738 15.6-32.724 23.504-50.89 23.85-18.164.278-36.19-8.458-54.078-26.138L459.815 188.082c-24.405-24.197-47.977-41.322-70.649-51.375-22.671-10.053-46.522-11.648-71.481-4.715-25.029 6.864-51.86 24.544-80.633 52.97-39.658 39.31-58.585 76.195-56.644 110.653s21.631 70.233 59.001 107.187l216.662 214.652c18.096 17.887 26.97 35.775 26.693 53.524-.277 17.818-8.042 34.25-23.365 49.434-15.253 15.114-32.1 23.018-50.404 23.642s-36.538-8.043-54.564-25.93L144.286 509.989q-51.27-50.75-74.046-96.094c-15.184-30.228-20.87-64.409-16.917-102.541 3.535-32.656 14.005-64.271 31.476-94.916 17.402-30.644 42.362-61.982 74.74-94.083 38.548-38.202 75.364-67.46 110.446-87.843C304.997 14.128 338.9 2.827 371.625.47c32.794-2.358 65.103 4.16 97.065 19.551 31.962 15.392 64.409 39.38 97.41 72.105z"
}), /*#__PURE__*/_jsx("path", {
fill: `url(#${_id2})`,
d: "M236.497 931.943 26.422 723.809C8.534 706.059-.271 688.242 0 670.215c.284-18.026 7.98-34.458 23.025-49.364 15.738-15.6 32.724-23.503 50.89-23.85 18.164-.277 36.19 8.389 54.078 26.138l214.86 212.849c24.473 24.197 47.977 41.322 70.649 51.375 22.671 10.053 46.521 11.578 71.55 4.714s51.86-24.543 80.633-53.039c39.658-39.31 58.585-76.195 56.644-110.653s-21.632-70.233-59.001-107.257L447.89 507.771c-18.096-17.888-26.97-35.775-26.693-53.524.278-17.819 8.043-34.25 23.365-49.434 15.253-15.114 32.1-23.018 50.404-23.642s36.538 8.042 54.565 25.93l108.85 106.84q51.271 50.752 74.047 96.094c15.184 30.229 20.869 64.41 16.917 102.542-3.536 32.655-14.005 64.27-31.477 94.915-17.402 30.645-42.361 61.983-74.74 94.084-38.548 38.202-75.363 67.46-110.445 87.843s-68.985 31.754-101.78 34.111c-32.793 2.358-65.102-4.16-97.064-19.551-31.962-15.392-64.41-39.38-97.411-72.105z"
}), /*#__PURE__*/_jsx("circle", {
cx: "367.534",
cy: "317.732",
r: "77.166",
fill: `url(#${_id3})`
})]
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 1024 1024"
};
/** */
export const UnisatColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-unisat-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
UnisatColorful.displayName = 'UnisatColorful';