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 a circular progress indicator for a dashboard showing task completion status.
Create a TaskProgress component that:
completed prop (number representing percentage 0-100)#4CAF50 (green) as the progress color#E0E0E0 (light gray) as the background rail colorThe component should render a visually appealing circular progress indicator that clearly shows how much of a task is complete.
interface TaskProgressProps {
completed: number;
}
export default function TaskProgress(props: TaskProgressProps): JSX.Element;Provides the React library for building the component.
Provides circular progress bar UI components.