"use client"; import * as ProgressPrimitive from "@radix-ui/react-progress"; import { ComponentProps } from "react"; import { cn } from "@/lib/utils"; interface ProgressProps extends ComponentProps { indicatorClassName?: string; variant?: "default" | "success" | "warning" | "danger"; } const indicatorVariants = { default: "bg-button-primary", success: "bg-bg-pass", warning: "bg-bg-warning", danger: "bg-bg-fail", } as const; function Progress({ className, value = 0, indicatorClassName, variant = "default", ...props }: ProgressProps) { const normalizedValue = value ?? 0; return ( ); } export { Progress };