feat(frontend): wire Vite app to FastAPI parser with NDJSON streaming + Upload page

This commit is contained in:
Tyler
2026-06-19 17:31:59 -06:00
parent 999889ecb3
commit 3d3bdfb07c
44 changed files with 7811 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
import { useCountUp } from "@/hooks/useCountUp";
interface AnimatedNumberProps {
value: number;
format: (n: number) => string;
duration?: number;
className?: string;
}
export function AnimatedNumber({
value,
format,
duration,
className,
}: AnimatedNumberProps) {
const n = useCountUp(value, duration);
return <span className={className}>{format(n)}</span>;
}