@ant-design/web3-icons
Version:
A collection of Web3 icons.
75 lines • 6.04 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", {
id: _id,
x1: "54.629%",
x2: "39.721%",
y1: "-6.971%",
y2: "98.575%",
children: [/*#__PURE__*/_jsx("stop", {
offset: "2%",
stopColor: "#00F"
}), /*#__PURE__*/_jsx("stop", {
offset: "8%",
stopColor: "#0094FF"
}), /*#__PURE__*/_jsx("stop", {
offset: "16%",
stopColor: "#48FF91"
}), /*#__PURE__*/_jsx("stop", {
offset: "42%",
stopColor: "#0094FF"
}), /*#__PURE__*/_jsx("stop", {
offset: "68%",
stopColor: "#0038FF"
}), /*#__PURE__*/_jsx("stop", {
offset: "90%",
stopColor: "#0500FF"
})]
})
}), /*#__PURE__*/_jsxs("g", {
fill: "none",
children: [/*#__PURE__*/_jsx("path", {
fill: "#0500FF",
d: "m148 320.446 363.837-118.787V1024C251.95 914.348 148 704.195 148 585.425z"
}), /*#__PURE__*/_jsx("path", {
fill: `url(#${_id})`,
d: "M727.69 320.446 363.853 201.659V1024C623.739 914.348 727.69 704.195 727.69 585.425z",
transform: "translate(148)"
}), /*#__PURE__*/_jsx("path", {
fill: "#0500FF",
d: "M291.267 4.075h50.768v28.44C358.68 6.95 377.82 4.074 405.848 4.074V54.35h-12.766c-33.582 0-49.667 15.805-49.667 47.104v53.43h-52.164V4.073zm284.021 150.792h-52.164V140.49c-11.386 13.226-26.912 18.96-46.053 18.96-36.342 0-56.88-21.54-56.88-61.185V4.058h52.165v82.445c0 18.664 9.151 29.573 24.677 29.573s26.09-10.63 26.09-28.72V4.059h52.165zm12.75-46.546h48.845c2.235 10.91 9.71 15.494 27.734 15.494 14.704 0 23.314-3.434 23.314-9.76 0-4.896-4.174-8.05-16.085-10.63l-39.399-8.905c-26.353-6.013-39.677-21.243-39.677-45.674C592.77 16.66 616.346 0 662.12 0s68.249 16.233 72.142 50.998h-48.55c-.82-9.184-10.268-14.803-25.794-14.803-12.47 0-20.52 4.009-20.52 10.055 0 5.159 5.257 9.184 15.82 11.796l41.338 10.055c27.175 6.589 40.237 20.39 40.237 42.8 0 31.036-26.912 49.42-72.67 49.42-45.756 0-76.02-19.814-76.02-52h-.065m287.652-57.34V4.075H746.963v46.923h38.412v103.869h51.885V50.965h38.43zm-598.93 0V4.075H148.033v46.923h38.413v103.869h51.885V50.965h38.412z"
})]
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 1024 1024"
};
/** */
export const TrustWalletColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-trust-wallet-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
TrustWalletColorful.displayName = 'TrustWalletColorful';