Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/openstatusHQ/openstatus. ๐ซ Status page with uptime monitoring & API monitoring as code ๐ซ openstatus.dev
bun drizzle-orm monitoring monitoring-as-code nextjs observability on-call open-source shadcn-ui status-page statuspage synthetic-monitoring tinybird turso uptime uptime-checker uptime-monitor
Something went wrong. Try again.
558 B ยท 27 lines
TSX
12345678910111213141516171819202122232425262728import { cn } from "@/lib/utils";
export function TableCellText({ value, className, ...props}: React.ComponentProps<"div"> & { value: unknown }) { if (typeof value === "string" && value.length > 0) { return ( <div className={cn(className)} {...props}> {value} </div> ); } if (typeof value === "number") { return ( <div className={cn(className)} {...props}> {value} </div> ); } return ( <div className={cn("text-muted-foreground", className)} {...props}> - </div> );}