@ant-design/web3-icons
Version:
A collection of Web3 icons.
165 lines • 8.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 _id9 = useUniqueInlineId();
const _id8 = useUniqueInlineId();
const _id7 = useUniqueInlineId();
const _id6 = useUniqueInlineId();
const _id5 = useUniqueInlineId();
const _id4 = useUniqueInlineId();
const _id3 = useUniqueInlineId();
const _id2 = useUniqueInlineId();
const _id = useUniqueInlineId();
return /*#__PURE__*/_jsxs("svg", {
...props,
children: [/*#__PURE__*/_jsxs("linearGradient", {
id: _id,
children: [/*#__PURE__*/_jsx("stop", {
offset: "0",
stopColor: "#43c465"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#14a53c"
})]
}), /*#__PURE__*/_jsx("linearGradient", {
id: _id2,
gradientUnits: "userSpaceOnUse",
x1: "44.636",
x2: "45.303",
xlinkHref: `#${_id}`,
y1: "76.764",
y2: "31.431"
}), /*#__PURE__*/_jsxs("linearGradient", {
id: _id3,
gradientUnits: "userSpaceOnUse",
x1: "99.294",
x2: "52.628",
y1: "25.134",
y2: "23.134",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0",
stopColor: "#33c2f7"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#0f95b2"
})]
}), /*#__PURE__*/_jsx("linearGradient", {
id: _id4,
gradientUnits: "userSpaceOnUse",
x1: "45.191",
x2: "44.524",
xlinkHref: `#${_id}`,
y1: "141.928",
y2: "87.928"
}), /*#__PURE__*/_jsxs("linearGradient", {
id: _id5,
gradientUnits: "userSpaceOnUse",
x1: "108.237",
x2: "148.904",
y1: "25.148",
y2: "24.481",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0",
stopColor: "#03b7f9"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#0f95b2"
})]
}), /*#__PURE__*/_jsx("linearGradient", {
id: _id6,
gradientUnits: "userSpaceOnUse",
x1: "158.283",
x2: "156.95",
xlinkHref: `#${_id}`,
y1: "78.513",
y2: "32.514"
}), /*#__PURE__*/_jsx("linearGradient", {
id: _id7,
gradientUnits: "userSpaceOnUse",
x1: "159.201",
x2: "158.534",
xlinkHref: `#${_id}`,
y1: "144.891",
y2: "88.891"
}), /*#__PURE__*/_jsxs("linearGradient", {
id: _id8,
gradientUnits: "userSpaceOnUse",
x1: "100.381",
x2: "50.381",
y1: "147.293",
y2: "148.626",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0",
stopColor: "#fff58e"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#ffca20"
})]
}), /*#__PURE__*/_jsxs("linearGradient", {
id: _id9,
gradientUnits: "userSpaceOnUse",
x1: "106.098",
x2: "144.098",
y1: "147.466",
y2: "149.466",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0",
stopColor: "#feda5a"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#ffca20"
})]
}), /*#__PURE__*/_jsx("path", {
d: "M0 86h89L33 30.5z",
fill: `url(#${_id2})`
}), /*#__PURE__*/_jsx("path", {
d: "M102 0v50.5L51.5 0z",
fill: `url(#${_id3})`
}), /*#__PURE__*/_jsx("path", {
d: "m89 86-55.5 56L0 86z",
fill: `url(#${_id4})`
}), /*#__PURE__*/_jsx("path", {
d: "M102 50.5 152.3 0H102z",
fill: `url(#${_id5})`
}), /*#__PURE__*/_jsx("path", {
d: "m203 86-33.5-55.5L114 86z",
fill: `url(#${_id6})`
}), /*#__PURE__*/_jsx("path", {
d: "M170.5 142 114 86h89z",
fill: `url(#${_id7})`
}), /*#__PURE__*/_jsx("path", {
d: "M102 121.5V173H51.5z",
fill: `url(#${_id8})`
}), /*#__PURE__*/_jsx("path", {
d: "M152.3 173H102v-51.5z",
fill: `url(#${_id9})`
})]
});
};
SVGComponent.defaultProps = {
viewBox: "0 0 203 173",
xmlns: "http://www.w3.org/2000/svg",
xmlnsXlink: "http://www.w3.org/1999/xlink"
};
/** */
export const EktColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-ekt-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
EktColorful.displayName = 'EktColorful';