@ant-design/web3-icons
Version:
A collection of Web3 icons.
111 lines • 8.88 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: "42.042",
y1: "762.588",
x2: "12.66",
y2: "794.44",
gradientTransform: "translate(-6 -761.64)",
children: [/*#__PURE__*/_jsx("stop", {
offset: ".58",
stopColor: "#a0a8d4"
}), /*#__PURE__*/_jsx("stop", {
offset: ".73",
stopColor: "#8791c7"
}), /*#__PURE__*/_jsx("stop", {
offset: ".91",
stopColor: "#6470b4"
})]
}), /*#__PURE__*/_jsx("path", {
d: "M9.3 32.8c.8 1.7 2.8 5.1 2.8 5.1L35 0 12.7 15.6c-1.3.9-2.4 2.1-3.2 3.5-2.1 4.3-2.1 9.3-.2 13.7z",
fill: `url(#${_id})`
}), /*#__PURE__*/_jsx("path", {
d: "M.3 45.2c.5 7.3 4.2 14.1 10 18.5L35 80.9S19.5 58.6 6.5 36.4c-1.3-2.3-2.2-4.9-2.6-7.6-.2-1.2-.2-2.4 0-3.6-.3.6-1 1.9-1 1.9C1.6 29.8.7 32.7.2 35.7c-.3 3.2-.3 6.4.1 9.5z",
fill: "#a0a8d4"
}), /*#__PURE__*/_jsxs("linearGradient", {
id: _id2,
gradientUnits: "userSpaceOnUse",
x1: "42.659",
y1: "841.659",
x2: "72.029",
y2: "809.829",
gradientTransform: "translate(-6 -761.64)",
children: [/*#__PURE__*/_jsx("stop", {
offset: ".58",
stopColor: "#a0a8d4"
}), /*#__PURE__*/_jsx("stop", {
offset: ".73",
stopColor: "#8791c7"
}), /*#__PURE__*/_jsx("stop", {
offset: ".91",
stopColor: "#6470b4"
})]
}), /*#__PURE__*/_jsx("path", {
d: "M63.3 48.2c-.8-1.7-2.8-5.1-2.8-5.1L37.6 80.9 60 65.4c1.3-.9 2.4-2.1 3.2-3.5 2-4.3 2.1-9.3.1-13.7z",
fill: `url(#${_id2})`
}), /*#__PURE__*/_jsx("path", {
d: "M72.4 35.7c-.5-7.3-4.2-14.1-10-18.5L37.7 0s15.5 22.3 28.5 44.5c1.3 2.3 2.2 4.9 2.6 7.6.2 1.2.2 2.4 0 3.6.3-.6 1-1.9 1-1.9 1.3-2.7 2.2-5.6 2.7-8.5.2-3.3.2-6.4-.1-9.6z",
fill: "#a0a8d4"
}), /*#__PURE__*/_jsxs("linearGradient", {
id: _id3,
gradientUnits: "userSpaceOnUse",
x1: "42.323",
y1: "761.24",
x2: "42.323",
y2: "842.84",
gradientTransform: "translate(-6 -761.64)",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0",
stopColor: "#513eff"
}), /*#__PURE__*/_jsx("stop", {
offset: ".18",
stopColor: "#5157ff"
}), /*#__PURE__*/_jsx("stop", {
offset: ".57",
stopColor: "#5298ff"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#52e5ff"
})]
}), /*#__PURE__*/_jsx("path", {
d: "M9.5 19.1c.8-1.4 1.8-2.6 3.2-3.5L35 0 12.1 37.8s-2-3.4-2.8-5.1c-1.9-4.3-1.9-9.3.2-13.6zM.3 45.2c.5 7.3 4.2 14.1 10 18.5L35 80.9S19.5 58.6 6.5 36.4c-1.3-2.3-2.2-4.9-2.6-7.6-.2-1.2-.2-2.4 0-3.6-.3.6-1 1.9-1 1.9C1.6 29.8.7 32.7.2 35.7c-.3 3.2-.3 6.4.1 9.5zm63 3c-.8-1.7-2.8-5.1-2.8-5.1L37.6 80.9 60 65.4c1.3-.9 2.4-2.1 3.2-3.5 2-4.3 2.1-9.3.1-13.7zm9-12.4c-.5-7.3-4.2-14.1-10-18.5L37.7 0s15.5 22.3 28.5 44.5c1.3 2.3 2.2 4.9 2.6 7.6.2 1.2.2 2.4 0 3.6.3-.6 1-1.9 1-1.9 1.3-2.7 2.2-5.6 2.7-8.5.2-3.3.2-6.4-.2-9.5z",
fill: `url(#${_id3})`
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 72.7 80.9",
xmlSpace: "preserve",
enableBackground: "new 0 0 72.7 80.9"
};
/** */
export const EnsColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-ens-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
EnsColorful.displayName = 'EnsColorful';