@ant-design/web3-icons
Version:
A collection of Web3 icons.
45 lines • 3.39 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("path", {
d: "M0 1361.05c271.87 144.38 555.56 295.51 774.67 412.45L1543 1361.05c-278.2 413.29-510 757.36-768.33 1138.15C515.88 2119.25 230.08 1700 0 1361.05Zm29.55-114L775.51 849l736.25 395.14-735.83 398.49Zm745.12-525.58L0 1129.28 771.29 0 1543 1131.81 774.67 721.47Z",
fill: "#3ab83a"
}), /*#__PURE__*/_jsx("path", {
d: "M774.67 1773.5 1543 1361.05C1264.8 1774.34 774.67 2499.2 774.67 2499.2Zm.84-924.5 736.25 395.14-735.83 398.49-.42-793.63Zm-.84-127.5L771.29 0 1543 1131.81Z",
fill: "#0b8311"
}), /*#__PURE__*/_jsx("path", {
d: "m29.55 1247.06 746 61.22 736.25-63.75-735.87 398.52Z",
fill: "#0b8311"
}), /*#__PURE__*/_jsx("path", {
d: "m775.51 1308.28 736.25-63.75-735.83 398.52-.42-334.77Z",
fill: "#146714"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 1543 2499.2"
};
/** */
export const EtcColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-etc-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
EtcColorful.displayName = 'EtcColorful';