@ant-design/web3-icons
Version:
A collection of Web3 icons.
77 lines • 5.48 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("linearGradient", {
id: _id,
gradientUnits: "userSpaceOnUse",
x1: "-7558.051",
y1: "912.335",
x2: "-7500.722",
y2: "912.335",
gradientTransform: "translate(7603.2 -872.83)",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0",
stopColor: "#62d0c9"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#7de2ac"
})]
}), /*#__PURE__*/_jsx("path", {
d: "M45.1 49.1h25.3c9.4 0 17.1-7.6 17.1-17.1s-7.6-17-17-17h-8.1L45.1 0h25.3c17.7-.1 32.1 14.2 32.1 31.9.1 13.1-7.9 24.9-20.1 29.8l20 17.3H79.6L45.1 49.1z",
fill: `url(#${_id})`
}), /*#__PURE__*/_jsx("path", {
d: "M57.5 30H32.2c-9.4 0-17.1 7.6-17.1 17.1s7.6 17.1 17.1 17.1h8.1l17.2 15H32.2C14.5 79.2.1 64.9 0 47.3c-.1-13.2 7.9-25 20.1-29.9L.1 0H23l34.5 30z",
fill: "#4971fa"
}), /*#__PURE__*/_jsxs("linearGradient", {
id: _id2,
gradientUnits: "userSpaceOnUse",
x1: "-7603.021",
y1: "912.381",
x2: "-7545.691",
y2: "912.381",
gradientTransform: "translate(7603.2 -872.83)",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0",
stopColor: "#3268fb"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#4795fa"
})]
}), /*#__PURE__*/_jsx("path", {
d: "M57.5 30H32.2c-9.4 0-17.1 7.6-17.1 17.1s7.6 17.1 17.1 17.1h8.1l17.2 15H32.2C14.5 79.2.1 64.9 0 47.3c-.1-13.2 7.9-25 20.1-29.9L.1 0H23l34.5 30z",
fill: `url(#${_id2})`
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 102.6 79.1",
xmlSpace: "preserve",
enableBackground: "new 0 0 102.6 79.1"
};
/** */
export const DcrColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-dcr-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
DcrColorful.displayName = 'DcrColorful';