"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ResponseHeaders=void 0;const jsx_runtime_1=require("react/jsx-runtime"),react_1=require("react"),styled_1=require("./styled"),PropertyDetails_1=require("../PropertyDetails"),LinkToField_1=require("../common/LinkToField");function ResponseHeadersComponent({headers:e,deepLink:r}){return void 0===e||0===e.length?null:(0,jsx_runtime_1.jsxs)(styled_1.StyledHeadersProperties,{children:[(0,jsx_runtime_1.jsxs)(styled_1.HeadersCaption,{children:[r&&(0,jsx_runtime_1.jsx)(LinkToField_1.LinkToField,{to:r}),"Headers"]}),e.map(((e,s)=>(0,jsx_runtime_1.jsx)(PropertyDetails_1.PropertyDetails,{isFirst:0===s,field:e,disableDeepLinks:!r},e.name)))]})}exports.ResponseHeaders=(0,react_1.memo)(ResponseHeadersComponent);
//# sourceMappingURL=ResponseHeaders.js.map