@ant-design/web3-icons
Version:
A collection of Web3 icons.
68 lines • 4.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 _id2 = useUniqueInlineId();
const _id = useUniqueInlineId();
return /*#__PURE__*/_jsxs("svg", {
...props,
children: [/*#__PURE__*/_jsxs("defs", {
children: [/*#__PURE__*/_jsxs("linearGradient", {
id: _id,
x1: "796.65",
y1: "1303.44",
x2: "256.41",
y2: "1301.64",
gradientTransform: "matrix(8.8 0 0 8.8 -2257.63 -10558.66)",
gradientUnits: "userSpaceOnUse",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0",
stopColor: "#006149"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#2f4246"
})]
}), /*#__PURE__*/_jsx("linearGradient", {
id: _id2,
x1: "796.89",
y1: "1319.5",
x2: "256.66",
y2: "1317.69",
gradientTransform: "matrix(8.8 0 0 8.8 -2262.91 -10558.66)",
xlinkHref: `#${_id}`
})]
}), /*#__PURE__*/_jsx("path", {
d: "M2447.7 561.74v124.14l-1222.09 751-921-451.68 1.76-69.55 915.69 450.79 1164-714.93v-51.03l-1098.82-530L61.63 828.52v339l1160.46 574.06 1211.52-743.13 34.34 52.83L1225.61 1812 0 1206.24V794.18L1283.72 0Z",
fill: `url(#${_id})`
}), /*#__PURE__*/_jsx("path", {
d: "m2431.85 1134 17.61-110.94-107.46-18.45 7-43.14L2499.64 987 2475 1141.08Z",
fill: `url(#${_id2})`
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
xmlnsXlink: "http://www.w3.org/1999/xlink",
viewBox: "0 0 2499.64 1812"
};
/** */
export const LbcColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-lbc-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
LbcColorful.displayName = 'LbcColorful';