@ant-design/web3-icons
Version:
A collection of Web3 icons.
67 lines • 5.6 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("path", {
d: "M22.7.5c-1.1-.6-2.9-.6-4 0L2 10c-1.1.6-2 2.2-2 3.4v19.2c0 1.3.9 2.8 2 3.4l16.7 9.6c1.1.6 2.9.6 4 0L39.4 36c1.1-.6 2-2.2 2-3.4V13.5c0-1.3-.9-2.8-2-3.4L22.7.5z",
fill: "#87f96e"
}), /*#__PURE__*/_jsxs("linearGradient", {
id: _id,
gradientUnits: "userSpaceOnUse",
x1: "20.677",
y1: "47.89",
x2: "20.677",
y2: "1.78",
gradientTransform: "matrix(1 0 0 -1 0 47.89)",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0",
stopColor: "#fff"
}), /*#__PURE__*/_jsx("stop", {
offset: ".98",
stopColor: "#389e20"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#000"
})]
}), /*#__PURE__*/_jsx("path", {
d: "M22.7.5c-1.1-.6-2.9-.6-4 0L2 10c-1.1.6-2 2.2-2 3.4v19.2c0 1.3.9 2.8 2 3.4l16.7 9.6c1.1.6 2.9.6 4 0L39.4 36c1.1-.6 2-2.2 2-3.4V13.5c0-1.3-.9-2.8-2-3.4L22.7.5z",
fill: `url(#${_id})`
}), /*#__PURE__*/_jsx("path", {
d: "M22.3 10.1c0-.8-.7-1.5-1.5-1.5s-1.5.7-1.5 1.5v27c0 .8.7 1.5 1.5 1.5s1.5-.7 1.5-1.5v-27z",
fill: "#062f4f"
}), /*#__PURE__*/_jsx("path", {
d: "M33.9 23.2c-.2-.3-.5-.6-.9-.7s-.8 0-1.1.1l-9.7 5.6v3.4l11.1-6.4c.3-.2.6-.5.7-.9.2-.4.1-.8-.1-1.1zM7.7 23.4c.2-.3.5-.6.9-.7.4-.1.8 0 1.1.1l9.7 5.6v3.4L8.3 25.4c-.3-.2-.6-.5-.7-.9-.1-.4-.1-.8.1-1.1zM33.9 15.6c-.2-.3-.5-.6-.9-.7-.4-.1-.8 0-1.1.1l-9.7 5.6V24l11.1-6.4c.3-.2.6-.5.7-.9s.1-.8-.1-1.1zM7.7 15.8c.2-.3.5-.6.9-.7.4-.1.8 0 1.1.1l9.7 5.6v3.4L8.3 17.8c-.3-.2-.6-.5-.7-.9-.1-.4-.1-.8.1-1.1z",
fill: "#062f4f"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 41.4 46.1",
xmlSpace: "preserve",
enableBackground: "new 0 0 41.4 46.1"
};
/** */
export const EthixColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-ethix-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
EthixColorful.displayName = 'EthixColorful';