import type { ComponentProps, HTMLAttributes } from "react";
import { Badge } from "@/components/ui/badge";
import { cn } from "@/lib/utils";
export type StatusProps = ComponentProps & {
status: "online" | "offline" | "maintenance" | "degraded";
};
export const Status = ({ className, status, ...props }: StatusProps) => (
);
export type StatusIndicatorProps = HTMLAttributes;
export const StatusIndicator = ({
className,
...props
}: StatusIndicatorProps) => (
);
export type StatusLabelProps = HTMLAttributes;
export const StatusLabel = ({
className,
children,
...props
}: StatusLabelProps) => (
{children ?? (
<>
Online
Offline
Maintenance
Degraded
>
)}
);