@ant-design/web3-icons
Version:
A collection of Web3 icons.
42 lines • 2.69 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 0h2474.3v2474.3H0V0z",
fill: "#00ff24"
}), /*#__PURE__*/_jsx("path", {
d: "M1507.42 1017.2v477.87H741.36v285.73l143.02 143.02c78.46 78.46 143.64 142.71 145.18 142.71 1.24 0 2.16-63.94 2.16-142.09v-142.09h762.98V826.3l-143.64-143.64-143.64-143.64v478.18z"
}), /*#__PURE__*/_jsx("path", {
d: "M741.36 920.52v191.52h386.12V729H741.36v191.52z"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 2474.3 2474.3",
xmlSpace: "preserve",
enableBackground: "new 0 0 2474.3 2474.3"
};
/** */
export const PlrColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-plr-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
PlrColorful.displayName = 'PlrColorful';