@ant-design/web3-icons
Version:
A collection of Web3 icons.
36 lines • 2.78 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: "m412.056 395.827-75.014-43.592L112 483.013v260.658L337.042 874l225.042-130.329V338.303l124.874-72.355 124.874 72.355v144.71l-124.874 72.355-75.014-43.593v115.948l75.014 43.593L912 540.987V280.329L686.958 150 461.916 280.329v405.368l-124.874 72.355-124.874-72.355v-145.16l124.874-72.355 75.014 43.593z",
fill: "#555",
fillRule: "nonzero"
})
});
};
SVGComponent.defaultProps = {
viewBox: "0 0 1024 1024",
xmlns: "http://www.w3.org/2000/svg"
};
/** */
export const PolygonFilled = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-polygon-filled');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
PolygonFilled.displayName = 'PolygonFilled';