import type { ComponentProps } from "react"; export type ProgressBarProps = Omit, "children"> & { label: string; value: number; }; export function ProgressBar({ className, label, value, ...props }: ProgressBarProps) { let normalized = Number.isFinite(value) ? Math.min(Math.max(value, 0), 100) : 0; return ( ); }