import { jsx as _jsx } from "react/jsx-runtime";
import { StatusBadge } from "../design/StatusBadge.js";
export function teamStatusLabel(active, total) {
    return `${Math.max(0, active)}/${Math.max(0, total)} active`;
}
export function TeamStatus(props) {
    return _jsx(StatusBadge, { label: teamStatusLabel(props.active, props.total), tone: props.active > 0 ? "success" : "muted" });
}
