docs
evals
scenario-1
scenario-10
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
Build a loading status indicator component for a file upload application. The component should display the upload progress using visual indicators that show both determinate (known progress) and indeterminate (unknown progress) states.
The component should display upload status in three different states:
Create a UploadStatusIndicator component with the following props:
interface UploadStatusIndicatorProps {
status: 'preparing' | 'uploading' | 'processing';
progress?: number; // 0-100, only applicable when status is 'uploading'
}Provides React progress bar components with loading state support.