@ant-design/web3-icons
Version:
A collection of Web3 icons.
41 lines • 2.16 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: "m184.2 0-74.8 172L34.7 0H0l109.4 251.9L218.9 0z",
fill: "#37bde2"
}), /*#__PURE__*/_jsx("path", {
d: "M109.4 92.6 148.6 0H70.2z",
fill: "#37bde2"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 218.9 251.9",
xmlSpace: "preserve",
enableBackground: "new 0 0 218.9 251.9"
};
/** */
export const XvgColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-xvg-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
XvgColorful.displayName = 'XvgColorful';