@ant-design/web3-icons
Version:
A collection of Web3 icons.
39 lines • 2.15 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";
var SVGComponent = function SVGComponent(props) {
return /*#__PURE__*/_jsx("svg", {
...props,
children: /*#__PURE__*/_jsx("path", {
d: "M63.8 0v158.5H0V38.4L63.8 0zM76.6 197.3V37.8h63.8v121l-63.8 38.5z",
fillRule: "evenodd",
clipRule: "evenodd",
fill: "#0414d1"
})
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 140.4 197.3",
xmlSpace: "preserve",
enableBackground: "new 0 0 140.4 197.3"
};
/** */
export const IdleColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-idle-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
IdleColorful.displayName = 'IdleColorful';