@ant-design/web3-icons
Version:
A collection of Web3 icons.
45 lines • 2.67 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("rect", {
width: "40",
height: "40",
rx: "8.711",
fill: "#00f0ff"
}), /*#__PURE__*/_jsx("path", {
d: "M18.46 15.767h7.468l7.64 7.592c.498.493.5 1.297.006 1.793L23.775 35h-7.693l2.326-2.261 8.54-8.486-8.432-8.487",
fill: "#1b1b1b"
}), /*#__PURE__*/_jsx("path", {
d: "M21.53 24.234h-7.47l-7.64-7.592a1.267 1.267 0 0 1-.005-1.793L16.214 5h7.693l-2.326 2.261-8.54 8.486 8.432 8.487",
fill: "#1b1b1b"
})]
});
};
SVGComponent.defaultProps = {
viewBox: "0 0 40 40",
fill: "none",
xmlns: "http://www.w3.org/2000/svg"
};
/** */
export const BgbColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-bgb-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
BgbColorful.displayName = 'BgbColorful';