@ant-design/web3-icons
Version:
A collection of Web3 icons.
51 lines • 2.97 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: "m511.914 32-6.441 21.877v634.767l6.44 6.426L806.56 520.902z",
fill: "#343434"
}), /*#__PURE__*/_jsx("path", {
d: "M511.914 32 217.26 520.902 511.914 695.07V386.97z",
fill: "#8C8C8C"
}), /*#__PURE__*/_jsx("path", {
d: "m511.914 750.856-3.63 4.426v226.114l3.63 10.596L806.74 576.778z",
fill: "#3C3C3B"
}), /*#__PURE__*/_jsx("path", {
d: "M511.914 991.992V750.856L217.26 576.778z",
fill: "#8C8C8C"
}), /*#__PURE__*/_jsx("path", {
d: "m511.914 695.07 294.645-174.168-294.645-133.93z",
fill: "#141414"
}), /*#__PURE__*/_jsx("path", {
d: "M217.26 520.902 511.914 695.07V386.97z",
fill: "#393939"
})]
});
};
SVGComponent.defaultProps = {
viewBox: "0 0 1024 1024",
xmlns: "http://www.w3.org/2000/svg"
};
/** */
export const EthereumColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-ethereum-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
EthereumColorful.displayName = 'EthereumColorful';