@ant-design/web3-icons
Version:
A collection of Web3 icons.
35 lines • 2.08 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";
var SVGComponent = function SVGComponent(props) {
return /*#__PURE__*/_jsx("svg", {
...props,
children: /*#__PURE__*/_jsx("path", {
fill: "#EB0029",
d: "M798.29 142.302 25 0l406.956 1024 567.028-690.833L798.29 142.302Zm-12.444 62.701 118.286 112.428-323.531 58.586 205.245-171.014ZM510.346 364.3 169.336 81.488l557.343 102.55L510.346 364.3Zm-24.306 50.016L430.455 874 130.65 119.545l355.39 294.77Zm51.468 24.403 358.248-64.88-410.927 500.645 52.68-435.765Z"
})
});
};
SVGComponent.defaultProps = {
viewBox: "0 0 1024 1024",
xmlns: "http://www.w3.org/2000/svg"
};
/** */
export const TronColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-tron-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
TronColorful.displayName = 'TronColorful';