@ant-design/web3-icons
Version:
A collection of Web3 icons.
61 lines • 3.27 kB
JavaScript
import { useUniqueInlineId } from '@inline-svg-unique-id/react';
// 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) {
const _id = useUniqueInlineId();
return /*#__PURE__*/_jsxs("svg", {
...props,
children: [/*#__PURE__*/_jsx("defs", {
children: /*#__PURE__*/_jsx("mask", {
id: _id,
x: "10",
y: "6",
width: "93.1",
height: "20",
maskUnits: "userSpaceOnUse",
children: /*#__PURE__*/_jsx("path", {
d: "M10 6h93.1v20H10Z",
fill: "#fff",
fillRule: "evenodd"
})
})
}), /*#__PURE__*/_jsx("circle", {
cx: "16",
cy: "16",
r: "16",
fill: "#13b5ec"
}), /*#__PURE__*/_jsx("g", {
mask: `url(#${_id})`,
children: /*#__PURE__*/_jsx("path", {
d: "m17.2 12.9 3.6-2.1V15Zm3.6 9L16 24.7l-4.8-2.8V17l4.8 2.8 4.8-2.8Zm-9.6-11.1 3.6 2.1-3.6 2.1Zm5.4 3.1 3.6 2.1-3.6 2.1Zm-1.2 4.2L11.8 16l3.6-2.1Zm4.8-8.3L16 12.2l-4.2-2.4L16 7.3ZM10 9.4v13.1l6 3.4 6-3.4V9.4L16 6Z",
fill: "#fff",
fillRule: "evenodd"
})
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 32 32"
};
/** */
export const FtmCircleColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-ftm-circle-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
FtmCircleColorful.displayName = 'FtmCircleColorful';