import type { Protocol } from "../types"; interface ProtocolListProps { protocols: Protocol[]; onSelect: (id: string) => void; onNew: () => void; } export function ProtocolList({ protocols, onSelect, onNew }: ProtocolListProps) { return (

Review protocols

{protocols.length === 0 ? (

No protocols yet. Start a new one to declare your research question before searching.

) : (
{protocols.map((p) => ( ))}
)}
); }