import { CopyableText as e } from "../copyable_text/CopyableText.js";
import { container as t } from "./backofficeIdBadge.css.js";
import { jsx as n } from "react/jsx-runtime";
import { useTranslation as r } from "react-i18next";
//#region src/backoffice/atoms/backoffice_id_badge/BackofficeIdBadge.tsx
var i = ({ id: i, className: a, copyLabel: o, copiedLabel: s, truncate: c = !0 }) => {
	let { t: l } = r("ui", { useSuspense: !1 });
	return /* @__PURE__ */ n("span", {
		className: t,
		children: /* @__PURE__ */ n(e, {
			value: i,
			className: a,
			copyLabel: o ?? l("backoffice.idBadge.copy", { defaultValue: "Copy ID" }),
			copiedLabel: s ?? l("backoffice.copyableText.copied", { defaultValue: "Copied" }),
			truncate: c
		})
	});
};
//#endregion
export { i as BackofficeIdBadge, i as default };

//# sourceMappingURL=BackofficeIdBadge.js.map