import { Circle, MinusCircle, Moon } from "lucide-react";
import { cn } from "~/lib/utils"; // Assuming you have a cn utility
// Define status type for better type safety if used elsewhere
export type UserStatusType = "online" | "dnd" | "idle" | "offline";
interface OnlineStatusProps extends React.ComponentProps<"div"> {
status: UserStatusType;
}
export function OnlineStatus({ status, className, ...rest }: OnlineStatusProps) {
const statusTitle = status.charAt(0).toUpperCase() + status.slice(1);
let statusIndicatorIcon: React.ReactNode = null;
switch (status) {
case "online":
statusIndicatorIcon =