@ant-design/web3-icons
Version:
A collection of Web3 icons.
81 lines (80 loc) • 6.82 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.TgWalletCircleColorful = void 0;
var _react = require("@inline-svg-unique-id/react");
var React = _interopRequireWildcard(require("react"));
var _icons = _interopRequireDefault(require("@ant-design/icons"));
var _antd = require("antd");
var _classnames = _interopRequireDefault(require("classnames"));
var _utils = require("../utils");
var _jsxRuntime = require("react/jsx-runtime");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var SVGComponent = function SVGComponent(props) {
const _id2 = (0, _react.useUniqueInlineId)();
const _id = (0, _react.useUniqueInlineId)();
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
...props,
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("script", {}), /*#__PURE__*/(0, _jsxRuntime.jsx)("script", {}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
clipPath: `url(#${_id2})`,
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("rect", {
width: "32",
height: "32",
rx: "16",
fill: `url(#${_id})`
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M8.974 15.009c0-1.753 0-2.63.341-3.3.3-.588.78-1.067 1.368-1.368.67-.34 1.546-.34 3.3-.34h4.07c1.752 0 2.629 0 3.299.34.589.3 1.068.78 1.368 1.369.097.19.167.398.216.638h-2.484c-.727 0-1.091 0-1.392.066a2.87 2.87 0 0 0-2.194 2.194c-.066.301-.066.665-.066 1.392 0 .728 0 1.091.066 1.393a2.87 2.87 0 0 0 2.194 2.194c.301.065.665.065 1.392.065h2.484c-.05.24-.12.448-.216.639a3.13 3.13 0 0 1-1.368 1.368c-.67.341-1.547.341-3.3.341h-4.07c-1.753 0-2.63 0-3.299-.341a3.13 3.13 0 0 1-1.368-1.368c-.341-.67-.341-1.546-.341-3.3V15.01z",
fill: "#fff"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M17.843 16c0-.973 0-1.46.181-1.836.18-.372.48-.673.853-.852.376-.181.863-.181 1.836-.181h1.043c.974 0 1.46 0 1.836.18.373.18.674.48.853.853.181.376.181.863.181 1.836 0 .974 0 1.46-.18 1.836-.18.373-.481.674-.854.853-.375.18-.862.18-1.835.18h-1.044c-.974 0-1.46 0-1.836-.18a1.826 1.826 0 0 1-.853-.853c-.18-.375-.18-.862-.18-1.836zm3.392 0a1.043 1.043 0 1 1-2.087 0 1.043 1.043 0 0 1 2.087 0z",
fill: "#fff"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("defs", {
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id,
x1: "16",
x2: "16",
y2: "32",
gradientUnits: "userSpaceOnUse",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
stopColor: "#60BFEF"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#0094FE"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("clipPath", {
id: _id2,
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fill: "#fff",
d: "M0 0h100v32H0z"
})
})]
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
fill: "none",
viewBox: "0 0 32 32"
};
/** */
const TgWalletCircleColorful = exports.TgWalletCircleColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(_antd.ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-tg-wallet-circle-colorful');
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, {
...props,
className: (0, _classnames.default)(prefixCls, props.className),
ref: ref,
component: (0, _utils.eraseDefaultProps)(SVGComponent)
});
});
TgWalletCircleColorful.displayName = 'TgWalletCircleColorful';