import { useId } from "react"; import { Badge } from "@calcom/ui"; import type { RoutingFormTableRow } from "../lib/types"; import { CellWithOverflowX } from "./CellWithOverflowX"; export function BookedByCell({ attendees, rowId, }: { attendees: RoutingFormTableRow["bookingAttendees"] | undefined; rowId: number; }) { const cellId = useId(); if (!attendees || attendees.length === 0) return
; return (