@ant-design/web3-icons
Version:
A collection of Web3 icons.
93 lines • 5.62 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", {
id: _id,
x1: "4.94",
y1: "29.33",
x2: "24.49",
y2: "63.19",
gradientTransform: "matrix(1 0 0 -1 0 100.1)",
gradientUnits: "userSpaceOnUse",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0",
stopColor: "#00dad9"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#095fa7"
})]
}), /*#__PURE__*/_jsxs("linearGradient", {
id: _id2,
x1: "30.7",
y1: "94.14",
x2: "53.24",
y2: "55.1",
gradientTransform: "matrix(1 0 0 -1 0 100.1)",
gradientUnits: "userSpaceOnUse",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0",
stopColor: "#0bf7df"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#0095ff"
})]
}), /*#__PURE__*/_jsxs("linearGradient", {
id: _id3,
x1: "94.84",
y1: "64.66",
x2: "14.39",
y2: "8.33",
gradientTransform: "matrix(1 0 0 -1 0 100.1)",
gradientUnits: "userSpaceOnUse",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0",
stopColor: "#00fcc6"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#0095ff"
})]
})]
}), /*#__PURE__*/_jsx("path", {
d: "M.1 30.55a8.59 8.59 0 0 1 10.3-1.5l35.2 20-35.3 20A8.61 8.61 0 0 1 0 67.55c.1 0 .1-39.4.1-37Z",
fill: `url(#${_id})`
}), /*#__PURE__*/_jsx("path", {
d: "M83.9 20.35a8.12 8.12 0 0 1-3.9 9.2l-34.4 19.5-35.3-20A8.61 8.61 0 0 0 0 30.55a12.12 12.12 0 0 1 6.3-10.5l32.4-18.4a12.66 12.66 0 0 1 12.5 0Z",
fill: `url(#${_id2})`
}), /*#__PURE__*/_jsx("path", {
d: "M10.3 69.05 80 29.55c3.3-1.9 4.1-5.7 3.2-9.2 3.7 2.2 5.2 6.2 5.2 10.4v36.7c0 4.4-1.7 8.4-5.5 10.6l-32 18.3a12.29 12.29 0 0 1-12.3 0L6.2 78.05A12.45 12.45 0 0 1 0 67.55a8.61 8.61 0 0 0 10.3 1.5Z",
fill: `url(#${_id3})`
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 88.4 98"
};
/** */
export const IqnColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-iqn-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
IqnColorful.displayName = 'IqnColorful';