@ant-design/web3-icons
Version:
A collection of Web3 icons.
53 lines • 3.18 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__*/_jsxs("radialGradient", {
id: _id,
cx: "46.003",
cy: "6.38",
r: "59.47",
gradientTransform: "matrix(1 0 0 -1 0 58)",
gradientUnits: "userSpaceOnUse",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0",
stopColor: "#EC991C"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#E9B213"
})]
}), /*#__PURE__*/_jsx("path", {
d: "M63.3 25.4 50 2.6C49 1 47.2 0 45.3 0H18.7c-1.9 0-3.7 1-4.6 2.6L.7 25.4c-1 1.6-1 3.6 0 5.3L14 53.4c1 1.6 2.7 2.6 4.6 2.6h26.7c1.9 0 3.7-1 4.7-2.6l13.3-22.8c.9-1.6.9-3.6 0-5.2z",
fill: `url(#${_id})`
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 64 56",
xmlSpace: "preserve"
};
/** */
export const NimColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-nim-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
NimColorful.displayName = 'NimColorful';