@ant-design/web3-icons
Version:
A collection of Web3 icons.
46 lines • 3.2 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: "M176.7 0H90.2L0 110.1l90.3 110.1h86.5L267 110.1 176.7 0z"
}), /*#__PURE__*/_jsx("path", {
d: "m167.6 20.4 73.5 89.4-73.5 89.4H99.4l-73.6-89.1 73.5-89.4h68.2m6.1-12.6H93.4l-83.7 102 83.7 102h80.2l83.7-102-83.7-102z",
fill: "#fff"
}), /*#__PURE__*/_jsx("path", {
d: "M160.6 178.6h-54.1l-56.4-68.5 56.3-68.5h54.1l56.3 68.5-56.2 68.5zm-52.2-4.2h50.1l52.8-64.3-52.8-64.3h-50.1l-52.8 64.3 52.8 64.3z",
fill: "#00d9ff"
}), /*#__PURE__*/_jsx("path", {
d: "M146.3 142.6h-25.6l-.2-.5-26.3-32 26.5-32.5h25.6l.2.4 26.3 32-26.5 32.6zm-24.5-2.2h23.6l24.7-30.3-24.7-30.3h-23.6l-25 30.3 25 30.3z",
fill: "#00d9ff"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 267 220.2",
xmlSpace: "preserve",
enableBackground: "new 0 0 267 220.2"
};
/** */
export const XhtColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-xht-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
XhtColorful.displayName = 'XhtColorful';