@ant-design/web3-icons
Version:
A collection of Web3 icons.
61 lines • 4.15 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("linearGradient", {
id: _id,
gradientUnits: "userSpaceOnUse",
x1: "-230.523",
y1: "433.604",
x2: "-231.523",
y2: "432.617",
gradientTransform: "matrix(43.273 0 0 -43 10018.701 18645.264)",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0",
stopColor: "#5F6BFB"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#724DE4"
})]
}), /*#__PURE__*/_jsx("path", {
d: "M29.4 0H13.9C6.2 0 0 6.1 0 13.8v15.4C0 36.9 6.2 43 13.9 43h15.5c7.7 0 13.9-6.1 13.9-13.8V13.8C43.3 6.1 37.1 0 29.4 0z",
fillRule: "evenodd",
clipRule: "evenodd",
fill: `url(#${_id})`
}), /*#__PURE__*/_jsx("path", {
d: "M10 19.3c-1.4 1.4-2 3.4-1.5 5.3s1.9 3.3 3.8 3.8 3.9-.1 5.3-1.5l9.4-9.3c1.3-1.3 3.5-1.3 4.7-.1s1.3 3.4-.1 4.7l-3 3-1.6-1.7-1.2 6.1 6.1-1.2-1.7-1.7 3-3c1.4-1.4 2-3.4 1.5-5.3s-1.9-3.3-3.8-3.8-3.9.1-5.3 1.5l-9.4 9.3c-1.3 1.3-3.5 1.3-4.7.1s-1.3-3.4.1-4.7l2.8-2.8 1.7 1.7 1.2-6.1-6.1 1.2 1.7 1.7-2.9 2.8z",
fillRule: "evenodd",
clipRule: "evenodd",
fill: "#fff"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 43.3 43",
xmlSpace: "preserve"
};
/** */
export const AnyColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-any-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
AnyColorful.displayName = 'AnyColorful';