@ant-design/web3-icons
Version:
A collection of Web3 icons.
46 lines • 2.5 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("circle", {
cx: "26.5",
cy: "2.5",
r: "2.5",
fill: "#18a0b1"
}), /*#__PURE__*/_jsx("path", {
d: "M7.28 18.79A8.37 8.37 0 0 1 18.74 7.33l2-2-.1-.08A11.14 11.14 0 0 0 5.28 20.79ZM21.72 10.32a8.37 8.37 0 0 1-11.46 11.46l-2 2A11.13 11.13 0 0 0 23.72 8.32Z",
fill: "#18a0b1"
}), /*#__PURE__*/_jsx("circle", {
cx: "2.5",
cy: "26.5",
r: "2.5",
fill: "#18a0b1"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 29 29"
};
/** */
export const IcxColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-icx-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
IcxColorful.displayName = 'IcxColorful';