@ant-design/web3-icons
Version:
A collection of Web3 icons.
74 lines • 4.14 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: "10.96",
y1: "483.27",
x2: "25.63",
y2: "515.41",
gradientTransform: "translate(0 -479.89)",
gradientUnits: "userSpaceOnUse",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0",
stopColor: "#f26659"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#b52a53"
})]
}), /*#__PURE__*/_jsxs("linearGradient", {
id: _id2,
x1: "25.64",
y1: "514.96",
x2: "40.39",
y2: "490.05",
gradientTransform: "translate(0 -479.89)",
gradientUnits: "userSpaceOnUse",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0",
stopColor: "#f26659"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#ee1c4e"
})]
})]
}), /*#__PURE__*/_jsx("path", {
d: "M17.2 32.81.2 3.41S-1.1 0 2.9 0h11a3.48 3.48 0 0 1 3.3 1.7c1.2 2 18.1 31.4 18.1 31.4l-14.6 1.8a4 4 0 0 1-3.5-2.09Z",
fill: `url(#${_id})`
}), /*#__PURE__*/_jsx("path", {
d: "m20.7 28.41 10.2-17.7A3.6 3.6 0 0 1 34.3 9h10.9s4.5.1 2.8 3.1S36 33 36 33s-.7 1.9-3.5 1.9H19.3s-2.5-.1-.6-3.1 2-3.39 2-3.39Z",
fill: `url(#${_id2})`
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 48.39 34.91"
};
/** */
export const LymColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-lym-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
LymColorful.displayName = 'LymColorful';