@ant-design/web3-icons
Version:
A collection of Web3 icons.
68 lines • 5.09 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("ellipse", {
cx: "13.9",
cy: "14",
rx: "13.9",
ry: "14",
fill: "#fff"
}), /*#__PURE__*/_jsx("defs", {
children: /*#__PURE__*/_jsx("path", {
id: _id,
d: "M0 0h27.9v28H0z"
})
}), /*#__PURE__*/_jsx("clipPath", {
id: _id2,
children: /*#__PURE__*/_jsx("use", {
xlinkHref: `#${_id}`,
overflow: "visible"
})
}), /*#__PURE__*/_jsxs("g", {
clipPath: `url(#${_id2})`,
children: [/*#__PURE__*/_jsx("path", {
d: "M27.9 14c0 7.7-6.3 14-13.9 14-7.7 0-14-6.3-14-14C0 6.2 6.3 0 13.9 0c7.7 0 14 6.3 14 14zm-14-12.4C7.2 1.6 1.6 7.3 1.6 14s5.6 12.3 12.3 12.3c6.7 0 12.3-5.6 12.3-12.3.1-6.8-5.6-12.4-12.3-12.4z",
fill: "#f9c910"
}), /*#__PURE__*/_jsx("path", {
d: "M5 19c-1.8-3.1-1.8-7.5.3-10.7l3.5 3.5s-.6 1.4-.3 2.9l-1.2 1.4c-.7-1.9-.2-4-.2-4L5.8 11c-1.3 3.7.3 6.7.3 6.7L5 19zM22.9 8.8c1.8 3.1 1.8 7.5-.3 10.7L19.1 16s.6-1.4.3-2.9l1.2-1.4c.7 1.9.2 4 .2 4l1.3 1.3c1.3-3.7-.3-6.7-.3-6.7l1.1-1.5z",
fill: "#f9c910"
}), /*#__PURE__*/_jsx("path", {
d: "m22.1 7.5-9.6 11.8s3.3 1.2 5.9-2l3.3 3.3c-3 4-11 5.6-15.9-.3l9.6-11.8s-3.5-1.2-5.9 2L6.2 7.1c3.8-4.8 12.2-4.6 15.9.4zM8.4 7.2l1.1 1.1c4.3-3.2 8.3-.3 8.3-.3L7.9 20.2c3.5 3.3 8.6 3.1 11.6.4l-1.1-1.1c-4.6 3.3-8.4.4-8.4.4L20 7.7C17.4 5 12.3 4 8.4 7.2z",
fill: "#ed1c24"
})]
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
xmlnsXlink: "http://www.w3.org/1999/xlink",
viewBox: "0 0 27.9 28",
xmlSpace: "preserve",
enableBackground: "new 0 0 27.9 28"
};
/** */
export const ZlwCircleColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-zlw-circle-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
ZlwCircleColorful.displayName = 'ZlwCircleColorful';