import { __ } from '@wordpress/i18n'; import type { JSX } from 'react'; import type { Scan } from '../api/types/status'; import { linksProgressPhrase } from '../text/countedPhrases'; import { Progress } from '../ui/Progress'; type ScanProgressBarProps = { scan: Scan; sideText: string; }; export function ScanProgressBar( { scan, sideText, }: ScanProgressBarProps ): JSX.Element { return ( <>