@ant-design/web3-icons
Version:
A collection of Web3 icons.
97 lines • 6.05 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("linearGradient", {
id: _id,
gradientUnits: "userSpaceOnUse",
x1: "4.686",
y1: "4.576",
x2: "27.314",
y2: "27.204",
gradientTransform: "matrix(1 0 0 -1 0 31.89)",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0",
stopColor: "#102054"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#1A45B8"
})]
}), /*#__PURE__*/_jsx("path", {
fill: `url(#${_id})`,
d: "M16 32c8.8 0 16-7.2 16-16S24.8 0 16 0 0 7.2 0 16s7.2 16 16 16z"
}), /*#__PURE__*/_jsxs("linearGradient", {
id: _id2,
gradientUnits: "userSpaceOnUse",
x1: "19.392",
y1: "25.615",
x2: "19.392",
y2: "8.421",
gradientTransform: "matrix(1 0 0 -1 0 31.89)",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0",
stopColor: "#FFF"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#fff",
stopOpacity: ".6"
})]
}), /*#__PURE__*/_jsx("path", {
fill: `url(#${_id2})`,
d: "M16 6.3v6.3l1.1 2.9-1.1-1v3.1c1.8 2.3 4.1 4.2 6.8 5.6L16 6.3z"
}), /*#__PURE__*/_jsxs("linearGradient", {
id: _id3,
gradientUnits: "userSpaceOnUse",
x1: "12.608",
y1: "8.541",
x2: "12.608",
y2: "25.415",
gradientTransform: "matrix(1 0 0 -1 0 31.89)",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0",
stopColor: "#FFF"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#fff",
stopOpacity: ".6"
})]
}), /*#__PURE__*/_jsx("path", {
fill: `url(#${_id3})`,
d: "M16 6.3v6.3l-1.1 2.9 1.1-1v3.1c-1.8 2.3-4.1 4.2-6.8 5.6L16 6.3z"
}), /*#__PURE__*/_jsx("path", {
fill: "#F5CC02",
d: "M16 21.5c.9 0 1.5-.7 1.5-1.5 0-.9-.7-1.5-1.5-1.5-.9 0-1.5.7-1.5 1.5s.6 1.5 1.5 1.5z"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 32 32",
xmlSpace: "preserve"
};
/** */
export const AlphaCircleColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-alpha-circle-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
AlphaCircleColorful.displayName = 'AlphaCircleColorful';