@ant-design/web3-icons
Version:
A collection of Web3 icons.
77 lines • 5.01 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 _id2 = useUniqueInlineId();
const _id = useUniqueInlineId();
return /*#__PURE__*/_jsxs("svg", {
...props,
children: [/*#__PURE__*/_jsxs("linearGradient", {
id: _id,
gradientUnits: "userSpaceOnUse",
x1: "891.381",
y1: "1149.934",
x2: "1398.671",
y2: "423.273",
gradientTransform: "matrix(1 0 0 -1 0 2199.89)",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0",
stopColor: "#ea078c"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#69009a"
})]
}), /*#__PURE__*/_jsx("path", {
d: "m1047.4 809.8 57 74s343 503.8 514.8 755.3c118.5 174.5 237 349 355.7 523.4 9.1 12.5 17.5 25.5 25.1 38.9-211.2.9-422.4.4-633.5.2-210.2-312-627.5-938.1-627.5-938.1l-36-65.6",
fill: `url(#${_id})`
}), /*#__PURE__*/_jsxs("linearGradient", {
id: _id2,
gradientUnits: "userSpaceOnUse",
x1: "454.65",
y1: "1157.199",
x2: "1486.38",
y2: "1791.319",
gradientTransform: "matrix(1 0 0 -1 0 2199.89)",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0",
stopColor: "#ea078c"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#69009a"
})]
}), /*#__PURE__*/_jsx("path", {
d: "M554 1455.2c-7.8 6.2-7.2 16.5-7.2 25.5l-8.5 28.4-41.1-660.7 50.3-53.8c12.9-8.8 512.4-536.8 752.8-788.2 5.7-8 16-5.6 24.4-6.3 209.2.7 627.5.5 627.5.5S614.9 1390.6 554 1455.2z",
fill: `url(#${_id2})`
}), /*#__PURE__*/_jsx("path", {
d: "M0 .7h547.4v2200.1H0V.7z",
fill: "#69009a"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 2000 2202",
xmlSpace: "preserve",
enableBackground: "new 0 0 2000 2202"
};
/** */
export const KdaColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-kda-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
KdaColorful.displayName = 'KdaColorful';