@ant-design/web3-icons
Version:
A collection of Web3 icons.
50 lines • 2.3 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__*/_jsx("svg", {
...props,
children: /*#__PURE__*/_jsxs("g", {
fill: "none",
fillRule: "evenodd",
children: [/*#__PURE__*/_jsx("circle", {
cx: "16",
cy: "16",
r: "16",
fill: "#101341",
fillRule: "nonzero"
}), /*#__PURE__*/_jsxs("g", {
fill: "#FFF",
children: [/*#__PURE__*/_jsx("path", {
d: "M11.022 7H21.25l5.25 9-5.25 9H10.931l5.16-9-5.07-9zm5.43 3.166L19.803 16l-3.35 5.834h2.988L22.789 16l-3.35-5.834h-2.986z"
}), /*#__PURE__*/_jsx("path", {
opacity: ".5",
d: "M12.113 11.026 9.211 16l2.876 4.93-1.839 3.209L5.5 16l4.789-8.211z"
})]
})]
})
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg"
};
/** */
export const BlockCircleColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-block-circle-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
BlockCircleColorful.displayName = 'BlockCircleColorful';