@ant-design/web3-icons
Version:
A collection of Web3 icons.
72 lines • 3.72 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__*/_jsxs("defs", {
children: [/*#__PURE__*/_jsxs("linearGradient", {
id: _id,
x1: "88.62",
y1: "867.19",
x2: "104.7",
y2: "929.41",
gradientTransform: "translate(0 -798)",
gradientUnits: "userSpaceOnUse",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0",
stopColor: "#00ff8f"
}), /*#__PURE__*/_jsx("stop", {
offset: ".43",
stopColor: "#53fdb2"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#68fcbb"
})]
}), /*#__PURE__*/_jsx("clipPath", {
id: _id2,
children: /*#__PURE__*/_jsx("path", {
fill: "none",
d: "M0 0h200v200H0z"
})
})]
}), /*#__PURE__*/_jsxs("g", {
clipPath: `url(#${_id2})`,
children: [/*#__PURE__*/_jsx("circle", {
cx: "100",
cy: "100",
r: "100"
}), /*#__PURE__*/_jsx("path", {
d: "M164.8 77.5c4.4 17.2-82.3 59.7-121.6 69.8s76-39.7 71.5-56.9-96.4-3.1-57.1-13.2 102.8-16.9 107.2.3Z",
fill: `url(#${_id})`
})]
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 200 200"
};
/** */
export const TrbCircleColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-trb-circle-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
TrbCircleColorful.displayName = 'TrbCircleColorful';