@ant-design/web3-icons
Version:
A collection of Web3 icons.
45 lines • 2.01 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: "m1089.3 213 25.24 804.73L1785 594.08z",
fill: "#333"
}), /*#__PURE__*/_jsx("path", {
d: "M1780.27 1436.69V590.93L819.54 1200v800h32.34",
fill: "#494949"
}), /*#__PURE__*/_jsx("path", {
d: "m695.7 1787-25.24-804.75L0 1405.92z",
fill: "#0ca579"
}), /*#__PURE__*/_jsx("path", {
d: "M4.73 563.31v845.76l960.73-608.28V0h-32.34",
fill: "#00ea90"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 1785 2000"
};
/** */
export const UbqColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-ubq-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
UbqColorful.displayName = 'UbqColorful';