@ant-design/web3-icons
Version:
A collection of Web3 icons.
55 lines • 2.93 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 _id = useUniqueInlineId();
return /*#__PURE__*/_jsxs("svg", {
...props,
children: [/*#__PURE__*/_jsx("defs", {
children: /*#__PURE__*/_jsxs("linearGradient", {
id: _id,
x1: "9.51",
y1: "72.74",
x2: "61.57",
y2: "20.67",
gradientTransform: "matrix(1 0 0 -1 0 92)",
gradientUnits: "userSpaceOnUse",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0",
stopColor: "#a6ff33"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#13afbc"
})]
})
}), /*#__PURE__*/_jsx("path", {
fill: `url(#${_id})`,
d: "m52.8 15.54-4.28 24.28H24.49l4.28-24.28H13.23L2.74 75.05 0 90.59l18.28-15.54 4.02-22.83h24.03L42.3 75.05h15.54l10.5-59.51L71.08 0 52.8 15.54z"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 71.08 90.59"
};
/** */
export const HedgColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-hedg-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
HedgColorful.displayName = 'HedgColorful';