import { Badge as e } from "../../../atomic/atoms/badge/Badge.js";
import { label as t } from "./environmentBadge.css.js";
import { jsx as n } from "react/jsx-runtime";
//#region src/backoffice/atoms/environment_badge/EnvironmentBadge.tsx
var r = {
	dev: "neutral",
	staging: "warning",
	prod: "danger"
}, i = {
	dev: "DEV",
	staging: "STAGING",
	prod: "PROD"
}, a = ({ environment: a, className: o, label: s }) => {
	let c = r[a];
	return /* @__PURE__ */ n(e, {
		tone: c,
		className: o,
		children: /* @__PURE__ */ n("span", {
			className: t,
			children: s ?? i[a]
		})
	});
};
//#endregion
export { a as EnvironmentBadge, a as default };

//# sourceMappingURL=EnvironmentBadge.js.map