@ant-design/web3-icons
Version:
A collection of Web3 icons.
40 lines • 2.48 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: "M0 0h512v512H0z",
fill: "#265fac"
}), /*#__PURE__*/_jsx("path", {
d: "M989.69-20c-4.92 53.68-58.11 46.94-58.11 46.94V-20h-53.33v46.94H763.13V-20h-52.22v46.8C658.46 30 655-19 655-19h-52.44v2.16a95.35 95.35 0 0 0 92.73 95.32l15.13.41v66.86a102.31 102.31 0 0 0 102.3 102.31h16.65a102.63 102.63 0 0 0 102.32-102.32V78.51h15.77a94.43 94.43 0 0 0 94.43-94.43V-20h-52.2ZM878.5 140a57.45 57.45 0 1 1-114.88 1.84V77.4H878.5V140Z",
transform: "translate(-566.22 190.08)",
fill: "#fff"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 512 512"
};
/** */
export const BfColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-bf-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
BfColorful.displayName = 'BfColorful';