import React, {PropTypes} from 'react'; import CopyButton from '../base/CopyButton'; const ResponseHeadersViewer = ({headers}) => { const headersString = headers.map( h => `${h.name}: ${h.value}` ).join('\n'); return (
Name | Value |
---|---|
{h.name} | {h.value} |