e.stopPropagation()}>
{/* Header */}
{/* Subtitle */}
{running ? (
Installing {doneCount + 1} of {items.length}…
) : allDone ? (
All libraries installed successfully
) : (
This project requires {items.length} {items.length === 1 ? 'library' : 'libraries'}.
Install them to compile correctly.
)}
{/* Library list */}
{items.map((item) => {
const isWokwiLib = item.spec.includes('@wokwi:');
return (
{item.name}
{item.version && (
v{item.version}
)}
{isWokwiLib && (
wokwi
)}
{item.status === 'pending' && (
pending
)}
{item.status === 'installing' && (
installing…
)}
{item.status === 'done' && (
installed
)}
{item.status === 'error' && (
error
)}
);
})}
{/* Footer */}
{allDone ? (
) : (
<>
>
)}