LiveRow.tsx17 lines · main
| 1 | import { TableCell, TableRow } from 'ui' |
| 2 | |
| 3 | export function LiveRow({ colSpan }: { colSpan: number }) { |
| 4 | return ( |
| 5 | <TableRow> |
| 6 | <TableCell className="relative w-(--header-level-size) min-w-(--header-level-size) max-w-(--header-level-size) border-b border-r border-t border-info"> |
| 7 | <div className="flex items-center justify-center"> |
| 8 | <span className="absolute inline-flex h-2.5 w-2.5 animate-ping rounded-full bg-brand opacity-75"></span> |
| 9 | <span className="relative inline-flex h-2.5 w-2.5 rounded-full bg-brand"></span> |
| 10 | </div> |
| 11 | </TableCell> |
| 12 | <TableCell colSpan={colSpan} className="border-b border-r border-t text-foreground"> |
| 13 | Live Mode |
| 14 | </TableCell> |
| 15 | </TableRow> |
| 16 | ) |
| 17 | } |