@ant-design/web3-icons
Version:
A collection of Web3 icons.
77 lines • 5.56 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 _id2 = useUniqueInlineId();
const _id = useUniqueInlineId();
return /*#__PURE__*/_jsxs("svg", {
...props,
children: [/*#__PURE__*/_jsx("defs", {
children: /*#__PURE__*/_jsx("filter", {
id: _id,
filterUnits: "userSpaceOnUse",
x: "0",
y: "0",
width: "40",
height: "40",
children: /*#__PURE__*/_jsx("feColorMatrix", {
values: "1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"
})
})
}), /*#__PURE__*/_jsx("mask", {
maskUnits: "userSpaceOnUse",
x: "0",
y: "0",
width: "40",
height: "40",
id: _id2,
children: /*#__PURE__*/_jsx("g", {
filter: `url(#${_id})`,
children: /*#__PURE__*/_jsx("path", {
d: "M0 0h40v40H0V0z",
fillRule: "evenodd",
clipRule: "evenodd",
fill: "#fff"
})
})
}), /*#__PURE__*/_jsx("path", {
d: "M20 40C9 40 0 31 0 19.9.1 8.9 9-.1 20.1 0 31.1.1 40 9 40 20.2 39.9 31.1 31 40 20 40",
mask: `url(#${_id2})`,
fillRule: "evenodd",
clipRule: "evenodd",
fill: "#0090ff"
}), /*#__PURE__*/_jsx("path", {
d: "m21.9 17.6-.6 3.2 5.7.8-.4 1.5-5.6-.8c-.4 1.3-.6 2.7-1.1 3.9-.5 1.4-1 2.8-1.6 4.1-.8 1.7-2.2 2.9-4.1 3.2-1.1.2-2.3.1-3.2-.6-.3-.2-.6-.6-.6-.9 0-.4.2-.9.5-1.1.2-.1.7 0 1 .1.3.3.6.7.8 1.1.6.8 1.4.9 2.2.3.9-.8 1.4-1.9 1.7-3 .6-2.4 1.2-4.7 1.7-7.1v-.4l-5.3-.8.2-1.5 5.5.8.7-3.1-5.7-.9.2-1.6 5.9.8c.2-.6.3-1.1.5-1.6.5-1.8 1-3.6 2.2-5.2s2.6-2.6 4.7-2.5c.9 0 1.8.3 2.4 1 .1.1.3.3.3.5 0 .4 0 .9-.3 1.2-.4.3-.9.2-1.3-.2-.3-.3-.5-.6-.8-.9-.6-.8-1.5-.9-2.2-.2-.5.5-1 1.2-1.3 1.9-.7 2.1-1.2 4.3-1.9 6.5l5.5.8-.4 1.5-5.3-.8",
fillRule: "evenodd",
clipRule: "evenodd",
fill: "#fff"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 40 40",
xmlSpace: "preserve",
enableBackground: "new 0 0 40 40"
};
/** */
export const FilCircleColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-fil-circle-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
FilCircleColorful.displayName = 'FilCircleColorful';