@ant-design/web3-icons
Version:
A collection of Web3 icons.
115 lines • 6.87 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 _id4 = useUniqueInlineId();
const _id3 = useUniqueInlineId();
const _id2 = useUniqueInlineId();
const _id = useUniqueInlineId();
return /*#__PURE__*/_jsxs("svg", {
...props,
children: [/*#__PURE__*/_jsxs("linearGradient", {
id: _id,
gradientUnits: "userSpaceOnUse",
x1: "120.283",
x2: "229.325",
y1: "114.105",
y2: "114.105",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0",
stopColor: "#3b8270"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#305c6e"
})]
}), /*#__PURE__*/_jsxs("linearGradient", {
id: _id2,
gradientUnits: "userSpaceOnUse",
x1: "6.442",
x2: "116.825",
y1: "114.105",
y2: "114.105",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0",
stopColor: "#4e7f98"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#3bc0b5"
})]
}), /*#__PURE__*/_jsxs("linearGradient", {
id: _id3,
gradientUnits: "userSpaceOnUse",
x1: "6.442",
x2: "116.825",
y1: "177.791",
y2: "177.791",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0",
stopColor: "#30435c"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#299aa9"
})]
}), /*#__PURE__*/_jsxs("linearGradient", {
id: _id4,
gradientUnits: "userSpaceOnUse",
x1: "121.123",
x2: "229.325",
y1: "176.984",
y2: "176.984",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0",
stopColor: "#2e2c29"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#323232"
})]
}), /*#__PURE__*/_jsx("path", {
d: "m235.4 141.5-113.2 83.7c-1.5 1.1-3.7 1.2-5.2.1L2 144c-2.2-1.6-2.7-4.8-.9-6.9L114.2 1.5c1.6-2 4.6-2 6.3 0L236 136.3c1.3 1.6 1.1 4-.6 5.2z",
fill: "#fff4fc"
}), /*#__PURE__*/_jsx("path", {
d: "m229.3 138.7-107.6 79.5-.6-81-.8-127.2 106.5 125.7z",
fill: `url(#${_id})`
}), /*#__PURE__*/_jsx("path", {
d: "m6.4 140.4 110.4 77.8L114.3 10z",
fill: `url(#${_id2})`
}), /*#__PURE__*/_jsx("path", {
d: "M115.9 137.4 7.2 139.5l-.8.9 110.4 77.8z",
fill: `url(#${_id3})`
}), /*#__PURE__*/_jsx("path", {
d: "m121.1 137.2 105.7-1.5 2.5 3-107.6 79.5z",
fill: `url(#${_id4})`
}), /*#__PURE__*/_jsx("path", {
d: "m121.1 136.2 105.7-1.5m-110.9 1.7L7.2 138.5m108.2-37.6C92 83 82.1 80.2 78.4 83.2 68.2 91.7 106 147 90.9 160.9c-4.4 4-13.5 4.9-31 6.6-5.4.5-9.9.7-12.8.7m109.7-32.5-35.9-31.4M97.2 29.7c-.3 4.9-.1 14.6 4.9 25.3 4 8.6 9.5 14.2 13 17.3m85.8 86.4c.9-1.3 12.1-17.8 5.2-33.3-5.1-11.5-17.6-16.8-19.5-17.6-2.5-1.1-2.6-.8-14.3-4.6-7.1-2.4-10.7-3.5-13.8-4.7-4.8-1.8-14.1-5.4-24.7-12.2-3.5-2.2-8-5.4-13.1-9.6",
fill: "none",
stroke: "#98c9c0",
strokeMiterlimit: "10",
strokeWidth: "2"
})]
});
};
SVGComponent.defaultProps = {
viewBox: "0 0 236.9 226.1",
xmlns: "http://www.w3.org/2000/svg"
};
/** */
export const AoaColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-aoa-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
AoaColorful.displayName = 'AoaColorful';