tahamajs/IE / Projects /front /src /components /common /ReadingProgressBar.tsx
tahamajs's picture
download
raw
375 Bytes
"use client";
interface ReadingProgressBarProps {
progress: number;
}
export function ReadingProgressBar({ progress }: ReadingProgressBarProps) {
return (
<div className="fixed top-0 left-0 w-full h-1 bg-gray-200 z-50">
<div
className="h-full bg-primary transition-all duration-200"
style={{ width: `${progress}%` }}
/>
</div>
);
}

Xet Storage Details

Size:
375 Bytes
·
Xet hash:
f48658a93fb7bef6b32bfdc69e260b25b3f133c02f2bde2d32b673c90298c2b0

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.