@undp/design-system-react
Version:
React based design system for UNDP
15 lines (14 loc) • 485 B
JavaScript
import { jsx as e } from "react/jsx-runtime";
//#region src/components/ui/logo.tsx
function t(t) {
let { variant: n = "blue", className: r, width: i = 60, locale: a = "en" } = t;
return /* @__PURE__ */ e("img", {
width: `${i}px`,
src: `https://cdn.jsdelivr.net/npm/@undp/design-system-assets/images/${a === "es" || a === "fr" ? "pnud" : "undp"}-logo-${n}.svg`,
alt: "UNDP Logo",
className: r
});
}
//#endregion
export { t as UNDPLogo };
//# sourceMappingURL=UNDPLogo.js.map