import classNames from 'classnames'; import type { HttpResponse } from '../lib/models'; import { HStack } from './core/Stacks'; interface Props { headers: HttpResponse['headers']; } export function ResponseHeaders({ headers }: Props) { return (
{headers.map((h, i) => { return ( 0 ? 'border-t border-highlightSecondary py-1' : 'pb-1')} >
{h.name}
{h.value}
); })}
); }