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) => (
{item.name}
{item.status === 'pending' && pending}
{item.status === 'installing' && (
installing…
)}
{item.status === 'done' && (
installed
)}
{item.status === 'error' && (
error
)}
))}
{/* Footer */}
{allDone ? (
) : (
<>
>
)}