@ant-design/web3-icons
Version:
A collection of Web3 icons.
73 lines • 5.5 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 _id2 = useUniqueInlineId();
const _id = useUniqueInlineId();
return /*#__PURE__*/_jsxs("svg", {
...props,
children: [/*#__PURE__*/_jsx("script", {}), /*#__PURE__*/_jsx("script", {}), /*#__PURE__*/_jsxs("g", {
clipPath: `url(#${_id2})`,
children: [/*#__PURE__*/_jsx("rect", {
width: "32",
height: "32",
rx: "16",
fill: `url(#${_id})`
}), /*#__PURE__*/_jsx("path", {
d: "M8.974 15.009c0-1.753 0-2.63.341-3.3.3-.588.78-1.067 1.368-1.368.67-.34 1.546-.34 3.3-.34h4.07c1.752 0 2.629 0 3.299.34.589.3 1.068.78 1.368 1.369.097.19.167.398.216.638h-2.484c-.727 0-1.091 0-1.392.066a2.87 2.87 0 0 0-2.194 2.194c-.066.301-.066.665-.066 1.392 0 .728 0 1.091.066 1.393a2.87 2.87 0 0 0 2.194 2.194c.301.065.665.065 1.392.065h2.484c-.05.24-.12.448-.216.639a3.13 3.13 0 0 1-1.368 1.368c-.67.341-1.547.341-3.3.341h-4.07c-1.753 0-2.63 0-3.299-.341a3.13 3.13 0 0 1-1.368-1.368c-.341-.67-.341-1.546-.341-3.3V15.01z",
fill: "#fff"
}), /*#__PURE__*/_jsx("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M17.843 16c0-.973 0-1.46.181-1.836.18-.372.48-.673.853-.852.376-.181.863-.181 1.836-.181h1.043c.974 0 1.46 0 1.836.18.373.18.674.48.853.853.181.376.181.863.181 1.836 0 .974 0 1.46-.18 1.836-.18.373-.481.674-.854.853-.375.18-.862.18-1.835.18h-1.044c-.974 0-1.46 0-1.836-.18a1.826 1.826 0 0 1-.853-.853c-.18-.375-.18-.862-.18-1.836zm3.392 0a1.043 1.043 0 1 1-2.087 0 1.043 1.043 0 0 1 2.087 0z",
fill: "#fff"
})]
}), /*#__PURE__*/_jsxs("defs", {
children: [/*#__PURE__*/_jsxs("linearGradient", {
id: _id,
x1: "16",
x2: "16",
y2: "32",
gradientUnits: "userSpaceOnUse",
children: [/*#__PURE__*/_jsx("stop", {
stopColor: "#60BFEF"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#0094FE"
})]
}), /*#__PURE__*/_jsx("clipPath", {
id: _id2,
children: /*#__PURE__*/_jsx("path", {
fill: "#fff",
d: "M0 0h100v32H0z"
})
})]
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
fill: "none",
viewBox: "0 0 32 32"
};
/** */
export const TgWalletCircleColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-tg-wallet-circle-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
TgWalletCircleColorful.displayName = 'TgWalletCircleColorful';