import { jsx } from "react/jsx-runtime";
function WorkflowTransitionLabel({
  label,
  state = "pending"
}) {
  if (!label) return null;
  return /* @__PURE__ */ jsx(
    "div",
    {
      className: `
        px-2 py-1 text-xs font-medium
        bg-card border rounded
        ${state === "completed" ? "border-emerald-300 text-emerald-700" : "border-border text-muted-foreground"}
      `,
      children: label
    }
  );
}
export {
  WorkflowTransitionLabel
};
//# sourceMappingURL=WorkflowTransitionLabel.js.map
