@ant-design/web3-icons
Version:
A collection of Web3 icons.
61 lines • 4.47 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: "39.655",
y1: "2.345",
x2: "0",
y2: "42",
gradientTransform: "matrix(1 0 0 -1 0 42)",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0",
stopColor: "#4B81EB"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#6752F4"
})]
}), /*#__PURE__*/_jsx("path", {
d: "M19.8 0c11 0 19.8 8.9 19.8 19.8 0 11-8.9 19.8-19.8 19.8C8.9 39.7 0 30.8 0 19.8 0 8.9 8.9 0 19.8 0z",
fillRule: "evenodd",
clipRule: "evenodd",
fill: `url(#${_id})`
}), /*#__PURE__*/_jsx("path", {
d: "M9 9.4h11.8c4.8 0 9.7 3.4 9.7 10.3S25.6 30 20.8 30h-8.7V18.9h5.1V25h3.4c2.2 0 4.8-2.5 4.8-5.3s-2.5-5.3-4.8-5.3H15c-2.5 0-4.5-1.7-6-5z",
fillRule: "evenodd",
clipRule: "evenodd",
fill: "#fff"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 39.7 39.7",
xmlSpace: "preserve"
};
/** */
export const DiviCircleColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-divi-circle-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
DiviCircleColorful.displayName = 'DiviCircleColorful';