@ant-design/web3-icons
Version:
A collection of Web3 icons.
34 lines • 1.4 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", {
d: "m0 234.7 285.3 727.6 31.6-798.8zM389.3 149.8l-94 813.6L1024 0z"
})
});
};
SVGComponent.defaultProps = {
viewBox: "0 0 1024 963.4",
xmlns: "http://www.w3.org/2000/svg"
};
/** */
export const ViteColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-vite-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
ViteColorful.displayName = 'ViteColorful';