@ant-design/web3-icons
Version:
A collection of Web3 icons.
45 lines • 3.81 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: "m11.2 47.8 18.3 7.4 18.2-7.8L55 29.1l-7.8-18.2-18.3-7.3-18.2 7.8-7.3 18.3 7.8 18.1zm18.3 10.8c-.2 0-.4 0-.6-.1L9.3 50.6c-.4-.2-.7-.5-.9-.9L.1 30.3c-.2-.4-.2-.8 0-1.3L8 9.5c.2-.4.5-.7.9-.9L28.3.3c.4-.2.8-.2 1.3 0l19.6 7.9c.3.1.6.4.8.8l8.3 19.4c.2.4.2.8 0 1.3l-7.9 19.6c-.2.4-.5.7-.9.9l-19.4 8.3c-.1.1-.4.1-.6.1z",
transform: "translate(0 -.17)",
fillRule: "evenodd",
clipRule: "evenodd"
}), /*#__PURE__*/_jsx("path", {
d: "m33.4 29.1-7.8 8.6H38v3.8H20.5v-3.8l7.8-8.6-7.8-8.1v-3.7H38V21H25.8z",
transform: "translate(0 -.17)",
fillRule: "evenodd",
clipRule: "evenodd"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 58.4 58.4",
xmlSpace: "preserve",
enableBackground: "new 0 0 58.4 58.4"
};
/** */
export const ErgColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-erg-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
ErgColorful.displayName = 'ErgColorful';