@ant-design/web3-icons
Version:
A collection of Web3 icons.
134 lines • 9.52 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__*/_jsx("svg", {
...props,
children: /*#__PURE__*/_jsxs("g", {
transform: "translate(4.087 3.1)",
children: [/*#__PURE__*/_jsxs("linearGradient", {
id: _id,
gradientUnits: "userSpaceOnUse",
x1: "-793.078",
y1: "410.044",
x2: "-793.385",
y2: "409.671",
gradientTransform: "matrix(5.925 0 0 -4.867 4715.603 2009.563)",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0",
stopColor: "#fff",
stopOpacity: "0"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#000",
stopOpacity: ".1"
})]
}), /*#__PURE__*/_jsx("path", {
d: "m13 13.3 4.7 4v-.1c.4-.5.8-1.1 1.2-1.7l-5.3-3.1-.6.9z",
fillRule: "evenodd",
clipRule: "evenodd",
fill: `url(#${_id})`
}), /*#__PURE__*/_jsxs("linearGradient", {
id: _id2,
gradientUnits: "userSpaceOnUse",
x1: "-807.454",
y1: "395.106",
x2: "-807.631",
y2: "394.771",
gradientTransform: "matrix(6.51 0 0 -4.232 5274.286 1682.787)",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0",
stopColor: "#fff",
stopOpacity: "0"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#000",
stopOpacity: ".1"
})]
}), /*#__PURE__*/_jsx("path", {
d: "M14.4 9.3h6.1v.1c0 .6-.1 1.2-.2 1.8v.4c-.1.6-.3 1.2-.5 1.8v.1L14 11.4c.3-.6.4-1.3.4-2.1z",
fillRule: "evenodd",
clipRule: "evenodd",
fill: `url(#${_id2})`
}), /*#__PURE__*/_jsxs("linearGradient", {
id: _id3,
gradientUnits: "userSpaceOnUse",
x1: "-824.856",
y1: "439.147",
x2: "-824.512",
y2: "438.574",
gradientTransform: "matrix(7.383 0 0 -6.886 6105.37 3027.752)",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0",
stopColor: "#fff",
stopOpacity: "0"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#000",
stopOpacity: ".1"
})]
}), /*#__PURE__*/_jsx("path", {
d: "M19 3.1c.3.6.6 1.2.8 1.8l.1.1v.1c.2.6.4 1.2.5 1.8V7l-6 1.1c-.2-1.1-.6-2.1-1.3-2.9l4.7-4v.1L19 3.1z",
fillRule: "evenodd",
clipRule: "evenodd",
fill: `url(#${_id3})`
}), /*#__PURE__*/_jsxs("linearGradient", {
id: _id4,
gradientUnits: "userSpaceOnUse",
x1: "-833.283",
y1: "446.1",
x2: "-832.424",
y2: "445.471",
gradientTransform: "matrix(7.881 0 0 -7.625 6575.341 3400.076)",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0",
stopColor: "#fff",
stopOpacity: "0"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#000",
stopOpacity: ".1"
})]
}), /*#__PURE__*/_jsx("path", {
d: "M9.4 3.2c-.4-.1-.7-.1-1.1-.1v-6.2c.7 0 1.4.1 2.1.2.7.1 1.3.3 2 .5.6.2 1.3.5 1.9.9.6.3 1.1.7 1.7 1.2h.1l-3.9 4.7c-.5-.5-1.2-.8-1.8-1.1-.3 0-.7-.1-1-.1z",
fillRule: "evenodd",
clipRule: "evenodd",
fill: `url(#${_id4})`
}), /*#__PURE__*/_jsx("path", {
d: "M8.3-3.1v6.2c-3.4 0-6.2 2.8-6.2 6.2s2.8 6.2 6.2 6.2c1.8 0 3.6-.8 4.7-2.2l4.7 4c-2.3 2.8-5.8 4.4-9.4 4.4C1.5 21.7-4 16.2-4 9.3S1.4-3.1 8.3-3.1zm5.8 14.5 5.8 2.1c-.2.7-.6 1.3-.9 2l-5.3-3.1c.1-.3.3-.6.4-1zm6.3-4.3c.1.7.2 1.4.2 2.2h-6.1c0-.4 0-.7-.1-1.1l6-1.1zM16.2-.2c.5.5 1.1 1 1.5 1.5l-4.7 4c-.2-.3-.5-.5-.8-.8l4-4.7z",
fill: "#1d2667"
})]
})
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 24.7 24.8",
xmlSpace: "preserve",
enableBackground: "new 0 0 24.7 24.8"
};
/** */
export const TracColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-trac-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
TracColorful.displayName = 'TracColorful';