@ant-design/web3-icons
Version:
A collection of Web3 icons.
75 lines • 3.71 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: "112.27",
y1: "112.27",
x2: "320.73",
y2: "320.73",
gradientUnits: "userSpaceOnUse",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0",
stopColor: "#2ab8e6"
}), /*#__PURE__*/_jsx("stop", {
offset: ".53",
stopColor: "#29cad2"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#2ee4be"
})]
}), /*#__PURE__*/_jsx("linearGradient", {
id: _id2,
x1: "175.55",
y1: "175.91",
x2: "258.18",
y2: "258.54",
xlinkHref: `#${_id}`
})]
}), /*#__PURE__*/_jsx("path", {
fill: "#1b1f2b",
d: "M0 0h433v433H0z"
}), /*#__PURE__*/_jsx("path", {
fill: "#1b1f2b",
strokeLinejoin: "bevel",
strokeWidth: "27.222",
stroke: `url(#${_id})`,
d: "M145.06 93.1h142.89v246.81H145.06z"
}), /*#__PURE__*/_jsx("path", {
d: "M259.8 255.47h-29.59v31h-26.7v-31h-29.59v-26.7h85.88zm0-76.5h-29.59v-31h-26.7v31h-29.59v26.7h85.88z",
fill: `url(#${_id2})`
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
xmlnsXlink: "http://www.w3.org/1999/xlink",
viewBox: "0 0 433 433"
};
/** */
export const ThetaColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-theta-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
ThetaColorful.displayName = 'ThetaColorful';