basicon
Version:
Minimal, trusted npm dependency for chain and token metadata & SVG icons. All locally served, no dynamic fetch, fully type-safe
84 lines (80 loc) • 3.89 kB
JavaScript
;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
// src/generated/token/usds.tsx
var usds_exports = {};
__export(usds_exports, {
default: () => usds_default
});
module.exports = __toCommonJS(usds_exports);
var import_jsx_runtime = require("react/jsx-runtime");
var Usds = (props) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
"svg",
{
id: "USDS-Coin",
xmlns: "http://www.w3.org/2000/svg",
version: "1.1",
xmlnsXlink: "http://www.w3.org/1999/xlink",
viewBox: "0 0 1000 1000",
...props,
children: [
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("defs", { children: [
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("style", { children: `
.cls-1 {
fill: url(#radial-gradient);
}
.cls-1, .cls-2 {
stroke-width: 0px;
}
.cls-2 {
fill: #fff;
}
` }),
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
"radialGradient",
{
id: "radial-gradient",
cx: "976.2772395",
cy: "23.9735075",
fx: "976.2772395",
fy: "23.9735075",
r: "2.0690868",
gradientTransform: "translate(-18064.581412 757167.6887207) rotate(-90) scale(774.3790283)",
gradientUnits: "userSpaceOnUse",
children: [
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("stop", { offset: "0", stopColor: "#ffd232" }),
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("stop", { offset: "1", stopColor: "#ff6d6d" })
]
}
)
] }),
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { id: "USDS-Coin-2", children: [
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { id: "Element", className: "cls-1", cx: "500", cy: "500", r: "500" }),
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
"path",
{
id: "Element-2",
className: "cls-2",
d: "M308.7752075,631.4499512h-71.1536255c5.8073578,111.0870361,98.7437439,207.6535034,263.558075,207.6535034,164.0899963,0,268.643158-90.0327148,268.643158-206.2026367,0-220.7210693-333.2608948-208.3778076-333.2608948-336.1646118,0-35.5768127,26.8637085-77.6894531,89.3042297-77.6894531,69.7028198,0,151.7467651,54.4559021,157.5562134,124.1566467h70.427124c-7.2602539-112.5398407-116.8963623-190.9537048-256.2999573-190.9537048-144.4844666,0-253.3941803,84.2232666-253.3941803,203.2969055,0,227.2569885,333.26091,197.4875183,333.26091,337.6174622,0,43.5634766-26.8637085,79.8667603-94.387207,79.8667603-84.2232971,0-169.1729736-58.8104248-174.2539062-141.5808716h.000061ZM368.3120117,313.4359436c0,172.8010559,330.3572388,138.677124,330.3572388,323.0970154,0,55.1802368-36.3032837,103.8267212-79.8667603,116.1679077,15.2468872-14.5205078,26.8637085-46.4672241,26.8637085-76.9609985,0-170.6238403-331.0836487-147.3901978-331.0836487-322.370575,0-58.812439,37.7561035-106.0060425,84.9496765-120.5264893-18.1526489,21.7807007-31.2202454,50.0972595-31.2202454,80.5931396h.0000305Z"
}
)
] })
]
}
);
var usds_default = Usds;