@ant-design/web3-icons
Version:
A collection of Web3 icons.
67 lines • 8.34 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("defs", {
children: /*#__PURE__*/_jsxs("linearGradient", {
x1: "8.441%",
y1: "89.766%",
x2: "88.112%",
y2: "9.441%",
id: _id,
children: [/*#__PURE__*/_jsx("stop", {
stopColor: "#9945FF",
offset: "8%"
}), /*#__PURE__*/_jsx("stop", {
stopColor: "#8752F3",
offset: "30%"
}), /*#__PURE__*/_jsx("stop", {
stopColor: "#5497D5",
offset: "50%"
}), /*#__PURE__*/_jsx("stop", {
stopColor: "#43B4CA",
offset: "60%"
}), /*#__PURE__*/_jsx("stop", {
stopColor: "#28E0B9",
offset: "72%"
}), /*#__PURE__*/_jsx("stop", {
stopColor: "#19FB9B",
offset: "97%"
})]
})
}), /*#__PURE__*/_jsx("path", {
d: "M1018.727 703.434 849.684 880.046a39.263 39.263 0 0 1-13.061 8.986 40.136 40.136 0 0 1-15.656 3.165H19.625a20.006 20.006 0 0 1-10.762-3.13 19.254 19.254 0 0 1-7.237-8.368 18.665 18.665 0 0 1-1.342-10.862 18.933 18.933 0 0 1 4.992-9.801l169.17-176.613a39.257 39.257 0 0 1 13.02-8.968 40.142 40.142 0 0 1 15.611-3.183h801.298c3.823 0 7.563 1.089 10.763 3.13a19.334 19.334 0 0 1 7.239 8.368 18.688 18.688 0 0 1 1.338 10.863 18.952 18.952 0 0 1-4.988 9.8ZM849.684 347.787a39.263 39.263 0 0 0-13.061-8.986 40.153 40.153 0 0 0-15.656-3.164H19.625a19.997 19.997 0 0 0-10.762 3.13 19.257 19.257 0 0 0-7.237 8.367 18.67 18.67 0 0 0-1.342 10.863 18.94 18.94 0 0 0 4.992 9.801l169.17 176.613a39.272 39.272 0 0 0 13.02 8.968 40.14 40.14 0 0 0 15.611 3.182h801.298a20.01 20.01 0 0 0 10.763-3.131 19.331 19.331 0 0 0 7.239-8.366 18.69 18.69 0 0 0 1.338-10.864 18.96 18.96 0 0 0-4.988-9.8L849.684 347.786ZM19.624 220.925h801.343a40.19 40.19 0 0 0 15.656-3.165 39.263 39.263 0 0 0 13.061-8.986l169.043-176.612a18.953 18.953 0 0 0 4.988-9.801 18.688 18.688 0 0 0-1.338-10.863 19.328 19.328 0 0 0-7.239-8.367A20.013 20.013 0 0 0 1004.375 0H203.077a40.146 40.146 0 0 0-15.61 3.182 39.266 39.266 0 0 0-13.021 8.969L5.32 188.764a18.934 18.934 0 0 0-4.99 9.79 18.669 18.669 0 0 0 1.331 10.854 19.25 19.25 0 0 0 7.218 8.368 20.006 20.006 0 0 0 10.746 3.15Z",
transform: "translate(0 66)",
fill: `url(#${_id})`,
fillRule: "nonzero"
})]
});
};
SVGComponent.defaultProps = {
viewBox: "0 0 1024 1024",
xmlns: "http://www.w3.org/2000/svg"
};
/** */
export const SolanaColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-solana-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
SolanaColorful.displayName = 'SolanaColorful';