"use client" import { cn } from "@/lib/utils" import { Badge } from "@/components/ui/badge" interface StatusIndicatorProps { isOnline?: boolean className?: string showLabel?: boolean pulseAnimation?: boolean } export function StatusIndicator({ isOnline = false, className, showLabel = true, pulseAnimation = true, }: StatusIndicatorProps) { return ( {isOnline && pulseAnimation && ( )} {showLabel && {isOnline ? "Online" : "Offline"}} ) }