import { jsx as _jsx } from "react/jsx-runtime";
import { StatusBadge } from "./design/StatusBadge.js";
export function prBadgeLabel(value) {
    const text = String(value).replace(/^#/, "").trim();
    return text ? `PR #${text}` : "PR";
}
export function PrBadge(props) {
    return _jsx(StatusBadge, { label: prBadgeLabel(props.value), tone: "brand" });
}
