@ant-design/web3-icons
Version:
A collection of Web3 icons.
35 lines • 3.61 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", {
fill: "#8247E5",
d: "M761.102 354.521c-17.632-10.07-40.318-10.07-60.477 0l-141.094 83.163-95.741 52.896-138.586 83.22c-17.632 10.07-40.318 10.07-60.477 0l-108.3-65.512a61.427 61.427 0 0 1-30.248-52.915V329.327c0-20.159 10.089-40.318 30.248-52.915l108.3-62.985c17.632-10.089 40.318-10.089 60.477 0l108.3 65.512a61.389 61.389 0 0 1 30.248 52.915v83.144l95.741-55.442v-85.652c0-20.159-10.07-40.318-30.229-52.915L327.712 102.6c-17.632-10.089-40.299-10.089-60.458 0L60.629 223.497C40.47 233.586 30.4 253.745 30.4 273.904v236.835c0 20.159 10.07 40.261 30.229 52.915L264.727 682.1c17.632 10.089 40.318 10.089 60.477 0l138.586-80.636 95.741-55.423 138.586-80.636c17.632-10.07 40.318-10.07 60.477 0l108.3 63.004a61.408 61.408 0 0 1 30.267 52.991v125.97c0 20.159-10.07 40.318-30.229 52.915l-105.83 63.004c-17.632 10.07-40.318 10.07-60.477 0l-108.3-63.004a61.408 61.408 0 0 1-30.229-52.915v-80.712L466.298 682.1v83.144c0 20.159 10.089 40.318 30.248 52.915l204.079 118.427c17.651 10.089 40.318 10.089 60.477 0L965.2 818.14a61.408 61.408 0 0 0 30.229-52.915v-239.4c0-20.159-10.07-40.318-30.229-52.915Z"
})
});
};
SVGComponent.defaultProps = {
viewBox: "0 0 1024 1024",
xmlns: "http://www.w3.org/2000/svg"
};
/** */
export const PolygonColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-polygon-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
PolygonColorful.displayName = 'PolygonColorful';