@ant-design/web3-icons
Version:
A collection of Web3 icons.
62 lines • 5.35 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__*/_jsxs("linearGradient", {
id: _id,
gradientUnits: "userSpaceOnUse",
x1: "53.77",
y1: "124.758",
x2: "84.784",
y2: "10.988",
gradientTransform: "matrix(1 0 0 -1 0 137.89)",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0",
stopColor: "#0F51FB"
}), /*#__PURE__*/_jsx("stop", {
offset: ".445",
stopColor: "#6324FB"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#EF3678"
})]
}), /*#__PURE__*/_jsx("circle", {
cx: "69",
cy: "69",
r: "69",
fill: `url(#${_id})`
}), /*#__PURE__*/_jsx("path", {
d: "M88.2 52.5c0-.5.2-1.1.7-1.7.7-.8 1.5-.9 2-1h8.3c1 0 1.8-.8 1.8-1.8v-9.2c0-1-.8-1.8-1.8-1.8H90c-1 0-1.8.8-1.8 1.8V47c0 .5-.2 1.2-.8 1.9-.5.6-1.2.8-1.7.9h-8.5c-1 0-1.8.8-1.8 1.8v8.2c0 .5-.2 1.2-.8 1.9-.5.6-1.2.8-1.7.9h-7.8c-.5-.1-1.2-.3-1.7-.9-.5-.5-.7-1.1-.8-1.6v-8.5c0-1-.8-1.8-1.8-1.8h-8.5c-.5-.1-1.2-.3-1.7-.9-.5-.5-.7-1.1-.8-1.6v-8.5c0-1-.8-1.8-1.8-1.8h-9.2c-1 0-1.8.8-1.8 1.8V48c0 1 .8 1.8 1.8 1.8H47c.5 0 1.4.2 2 1 .8.9.7 2.1.7 2.3v6.8c0 .5-.2 1.2-.8 1.9-.5.6-1.2.8-1.7.9h-8.5c-1 0-1.8.8-1.8 1.8v34.8c0 1 .8 1.8 1.8 1.8H48c1 0 1.8-.8 1.8-1.8v-34c0-.5.2-1.1.7-1.7.7-.8 1.5-.9 2-1h7.2c.5 0 1.4.2 2 1 .8.9.7 2.1.7 2.3v7.8c0 1 .8 1.8 1.8 1.8h9.2c1 0 1.8-.8 1.8-1.8v-8.4c0-.5.2-1.1.7-1.7.7-.8 1.5-.9 2-1h7.2c.5 0 1.4.2 2 1 .8.9.7 2.1.7 2.3v33.4c0 1 .8 1.8 1.8 1.8h9.2c1 0 1.8-.8 1.8-1.8V64.4c0-1-.8-1.8-1.8-1.8h-8.5c-.5-.1-1.2-.3-1.7-.9-.5-.5-.7-1.1-.8-1.6l.4-7.6z",
fill: "#FFF"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 138 138",
xmlSpace: "preserve"
};
/** */
export const MxcCircleColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-mxc-circle-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
MxcCircleColorful.displayName = 'MxcCircleColorful';