@ant-design/web3-icons
Version:
A collection of Web3 icons.
103 lines • 6.97 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 _id3 = useUniqueInlineId();
const _id2 = useUniqueInlineId();
const _id = useUniqueInlineId();
return /*#__PURE__*/_jsxs("svg", {
...props,
children: [/*#__PURE__*/_jsxs("linearGradient", {
id: _id,
gradientUnits: "userSpaceOnUse",
x1: "502.106",
y1: "2631.649",
x2: "317.62",
y2: "1858.615",
gradientTransform: "matrix(3.2895 0 0 -3.2895 0 8223.685)",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0",
stopColor: "#2C2C3D"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#1A1A27"
})]
}), /*#__PURE__*/_jsx("path", {
d: "M511.2 0h1477.6C2272.4 0 2500 227.6 2500 511.2v1477.6c0 283.6-227.6 511.2-511.2 511.2H511.2A509.58 509.58 0 0 1 0 1988.8V511.2C0 227.6 227.6 0 511.2 0z",
fill: `url(#${_id})`
}), /*#__PURE__*/_jsx("path", {
fill: "#FFF",
d: "M1573.2 567.3 600.3 1932.7h296.8l976.3-1365.4z"
}), /*#__PURE__*/_jsxs("linearGradient", {
id: _id2,
gradientUnits: "userSpaceOnUse",
x1: "250.5",
y1: "2296.482",
x2: "372.822",
y2: "2150.097",
gradientTransform: "matrix(3.2895 0 0 -3.2895 0 8223.685)",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0",
stopColor: "#FFF"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#fff",
stopOpacity: ".549"
})]
}), /*#__PURE__*/_jsx("path", {
fill: `url(#${_id2})`,
d: "M930.1 567.3 1217 969.7l-151.7 217.6-438.7-620z"
}), /*#__PURE__*/_jsxs("linearGradient", {
id: _id3,
gradientUnits: "userSpaceOnUse",
x1: "508.688",
y1: "1947.268",
x2: "357.29",
y2: "2153.811",
gradientTransform: "matrix(3.2895 0 0 -3.2895 0 8223.685)",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0",
stopColor: "#6966FF"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#6966ff",
stopOpacity: ".3608"
})]
}), /*#__PURE__*/_jsx("path", {
fill: `url(#${_id3})`,
d: "M1599.6 1932.7 1283 1487.5l148.4-214.4 468.3 659.6z"
}), /*#__PURE__*/_jsx("path", {
d: "M511.2 0h1477.6C2272.4 0 2500 227.6 2500 511.2v1477.6c0 283.6-227.6 511.2-511.2 511.2H511.2A509.58 509.58 0 0 1 0 1988.8V511.2C0 227.6 227.6 0 511.2 0z",
fill: "none",
stroke: "#2d2d3d",
strokeWidth: "6.5789",
strokeMiterlimit: "75.4132"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 2500 2500",
xmlSpace: "preserve"
};
/** */
export const DydxColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-dydx-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
DydxColorful.displayName = 'DydxColorful';