@ant-design/web3-icons
Version:
A collection of Web3 icons.
92 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 _id3 = useUniqueInlineId();
const _id2 = useUniqueInlineId();
const _id = useUniqueInlineId();
return /*#__PURE__*/_jsxs("svg", {
...props,
children: [/*#__PURE__*/_jsxs("linearGradient", {
id: _id,
gradientUnits: "userSpaceOnUse",
x1: "7.749",
y1: "29.605",
x2: "18.712",
y2: "3.129",
gradientTransform: "matrix(1 0 0 -1 0 37.89)",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0",
stopColor: "#0057FF"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#00A3FF"
})]
}), /*#__PURE__*/_jsx("path", {
d: "M0 0v9.2l24.2 13.5L0 36.8h20c6.4 0 11.5-4.5 11.5-10.1v-8.3L0 0z",
fill: `url(#${_id})`
}), /*#__PURE__*/_jsxs("linearGradient", {
id: _id2,
gradientUnits: "userSpaceOnUse",
x1: "13.261",
y1: "28.019",
x2: "33.655",
y2: "33.406",
gradientTransform: "matrix(1 0 0 -1 0 37.89)",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0",
stopColor: "#0283FF"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#01C2FF"
})]
}), /*#__PURE__*/_jsx("path", {
fill: `url(#${_id2})`,
d: "m0 0 31.5 18.4v-8.3C31.5 4.5 26.3 0 20 0H0z"
}), /*#__PURE__*/_jsxs("linearGradient", {
id: _id3,
gradientUnits: "userSpaceOnUse",
x1: "5.881",
y1: "4.463",
x2: "34.444",
y2: "42.362",
gradientTransform: "matrix(1 0 0 -1 0 37.89)",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0",
stopColor: "#0157FF"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#0FF"
})]
}), /*#__PURE__*/_jsx("path", {
fill: `url(#${_id3})`,
d: "M16.6 18.4 0 27.6v9.2l24.2-14.2-7.6-4.2z"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 31.5 36.8",
xmlSpace: "preserve"
};
/** */
export const DesoColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-deso-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
DesoColorful.displayName = 'DesoColorful';