docs
evals
scenario-1
scenario-10
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
Build a React component that displays the upload progress of a single file using a progress indicator.
Create a FileUploadProgress component that:
progress prop (number between 0 and 100) to control the displayed progressThe component should be a straightforward implementation that receives a progress value and displays it visually.
import React from 'react';
interface FileUploadProgressProps {
progress: number;
}
export function FileUploadProgress(props: FileUploadProgressProps): JSX.Element;Provides React progress bar UI components.
Provides the React framework for building UI components.