@ant-design/web3-icons
Version:
A collection of Web3 icons.
97 lines • 9.39 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 _id3 = useUniqueInlineId();
const _id2 = useUniqueInlineId();
const _id = useUniqueInlineId();
return /*#__PURE__*/_jsxs("svg", {
...props,
children: [/*#__PURE__*/_jsxs("defs", {
children: [/*#__PURE__*/_jsxs("linearGradient", {
x1: "74.955%",
y1: "95.836%",
x2: "19.79%",
y2: "-4.168%",
id: _id,
children: [/*#__PURE__*/_jsx("stop", {
stopColor: "#1E8E3E",
offset: "0%"
}), /*#__PURE__*/_jsx("stop", {
stopColor: "#34A853",
offset: "100%"
})]
}), /*#__PURE__*/_jsxs("linearGradient", {
x1: "21.293%",
y1: "100.177%",
x2: "59.787%",
y2: ".181%",
id: _id2,
children: [/*#__PURE__*/_jsx("stop", {
stopColor: "#FCC934",
offset: "0%"
}), /*#__PURE__*/_jsx("stop", {
stopColor: "#FBBC04",
offset: "100%"
})]
}), /*#__PURE__*/_jsxs("linearGradient", {
x1: "0%",
y1: "50%",
x2: "100%",
y2: "50%",
id: _id3,
children: [/*#__PURE__*/_jsx("stop", {
stopColor: "#D93025",
offset: "0%"
}), /*#__PURE__*/_jsx("stop", {
stopColor: "#EA4335",
offset: "100%"
})]
})]
}), /*#__PURE__*/_jsxs("g", {
fillRule: "nonzero",
fill: "none",
children: [/*#__PURE__*/_jsx("path", {
d: "M512.007 767.99c141.392 0 256.012-114.622 256.012-256.015 0-141.394-114.62-256.015-256.012-256.015-141.391 0-256.011 114.621-256.011 256.015 0 141.393 114.62 256.015 256.011 256.015Z",
fill: "#FFF"
}), /*#__PURE__*/_jsx("path", {
d: "M290.295 640.04 68.617 256.077A511.876 511.876 0 0 0 0 512.076a511.916 511.916 0 0 0 256.028 443.387A511.91 511.91 0 0 0 512.043 1024L733.72 640.04v-.067a255.945 255.945 0 0 1-221.693 128.093A255.948 255.948 0 0 1 290.295 640.04Z",
fill: `url(#${_id})`
}), /*#__PURE__*/_jsx("path", {
d: "m733.704 640.023-221.676 383.96a511.906 511.906 0 0 0 443.317-767.985H511.99l-.055.035a255.957 255.957 0 0 1 221.778 127.949 255.978 255.978 0 0 1 34.312 128.02 255.98 255.98 0 0 1-34.319 128.02h-.003Z",
fill: `url(#${_id2})`
}), /*#__PURE__*/_jsx("path", {
d: "M512.007 714.71c111.935 0 202.677-90.744 202.677-202.68s-90.742-202.68-202.677-202.68c-111.935 0-202.675 90.744-202.675 202.68s90.74 202.68 202.675 202.68Z",
fill: "#1A73E8"
}), /*#__PURE__*/_jsx("path", {
d: "M512.009 256.015h443.354a511.917 511.917 0 0 0-187.39-187.424A511.963 511.963 0 0 0 511.973 0 511.824 511.824 0 0 0 255.98 68.627a511.904 511.904 0 0 0-187.363 187.45l221.677 383.96.056.031a255.963 255.963 0 0 1 221.657-384.053Z",
fill: `url(#${_id3})`
})]
})]
});
};
SVGComponent.defaultProps = {
viewBox: "0 0 1024 1024",
xmlns: "http://www.w3.org/2000/svg"
};
/** */
export const ChromeCircleColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-chrome-circle-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
ChromeCircleColorful.displayName = 'ChromeCircleColorful';