@ant-design/web3-icons
Version:
A collection of Web3 icons.
70 lines • 5.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("g", {
clipPath: `url(#${_id2})`,
children: [/*#__PURE__*/_jsx("rect", {
x: ".746",
width: "512",
height: "512",
rx: "115",
fill: `url(#${_id})`
}), /*#__PURE__*/_jsx("path", {
d: "M417.435 158.291c10.648 144.216-82.054 212.379-165.159 219.648-77.263 6.757-149.99-40.718-156.37-113.66-5.263-60.262 31.982-85.918 61.245-88.475 30.097-2.639 55.39 18.117 57.584 43.248 2.113 24.161-12.963 35.159-23.448 36.074-8.292.727-18.724-4.307-19.666-15.116-.808-9.288 2.719-10.553 1.857-20.42-1.534-17.566-16.852-19.612-25.238-18.885-10.149.889-28.563 12.734-25.979 42.239 2.598 29.761 31.134 53.277 68.541 50.006 40.368-3.527 68.473-34.957 70.587-79.04a16.003 16.003 0 0 1 1.44-6.771l.013-.053c.435-.924.944-1.811 1.521-2.652.862-1.292 1.966-2.719 3.392-4.281.014-.04.014-.04.041-.04 1.036-1.171 2.288-2.436 3.701-3.796 17.634-16.637 81.14-55.874 141.2-43.45a6.013 6.013 0 0 1 4.738 5.424",
fill: "#fff"
})]
}), /*#__PURE__*/_jsxs("defs", {
children: [/*#__PURE__*/_jsxs("linearGradient", {
id: _id,
x1: "471.319",
y1: "34",
x2: "19.319",
y2: "498",
gradientUnits: "userSpaceOnUse",
children: [/*#__PURE__*/_jsx("stop", {
stopColor: "#11C4D1"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#0062AD"
})]
}), /*#__PURE__*/_jsx("clipPath", {
id: _id2,
children: /*#__PURE__*/_jsx("path", {
fill: "#fff",
transform: "translate(.319)",
d: "M0 0h512v512H0z"
})
})]
})]
});
};
SVGComponent.defaultProps = {
viewBox: "0 0 513 512",
xmlns: "http://www.w3.org/2000/svg"
};
/** */
export const ImTokenColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-imtoken-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
ImTokenColorful.displayName = 'ImTokenColorful';