'use client'; import type { ApiEndpoint } from '../../../../types'; import { ResponseRow } from './ResponseRow'; interface ResponsesProps { responses: NonNullable; } /** Flat list of response rows. Outer collapsible wrapper lives in the * ``Section`` component higher up; this component only knows how to * arrange the individual rows. */ export function Responses({ responses }: ResponsesProps) { return (
{responses.map((r) => ( ))}
); }