@ant-design/web3-icons
Version:
A collection of Web3 icons.
59 lines • 3.28 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: "25.214",
y1: "1024.822",
x2: "25.837",
y2: "1024.119",
gradientTransform: "matrix(50 0 0 -50 -1250 51250)",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0",
stopColor: "#00ADEF"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#0084FF"
})]
}), /*#__PURE__*/_jsx("circle", {
cx: "25",
cy: "25",
r: "25",
fill: `url(#${_id})`
}), /*#__PURE__*/_jsx("path", {
d: "m16.6 11.8-2.7 2.7v10.7l2.7 2.7h10.7v5.4H22v-2.7h-8.1V36l2.7 2.7h16.1l2.7-2.7V25.2l-2.7-2.7H22v-5.4h5.4v2.7h8.1v-5.4l-2.7-2.7H16.6z",
fill: "#FFF"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 50 50",
xmlSpace: "preserve"
};
/** */
export const SandCircleColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-sand-circle-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
SandCircleColorful.displayName = 'SandCircleColorful';