@ant-design/web3-icons
Version:
A collection of Web3 icons.
46 lines • 2.31 kB
JavaScript
// 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) {
return /*#__PURE__*/_jsxs("svg", {
...props,
children: [/*#__PURE__*/_jsx("rect", {
width: "67.37",
height: "67.25",
rx: "20"
}), /*#__PURE__*/_jsx("rect", {
width: "67.37",
height: "67.25",
rx: "20",
fill: "#2cc981"
}), /*#__PURE__*/_jsx("path", {
d: "m45.73 10.43 10.84 11.21h-22Zm-23 22.86L11.14 21.74l11.24-11.21 34.26 34.34-11.35 11.19-11.21-11.19-11.29 11.27-11.37-11.35Z",
fill: "#fff",
fillRule: "evenodd"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 67.37 67.25"
};
/** */
export const TorColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-tor-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
TorColorful.displayName = 'TorColorful';