import{X as e,d as r,j as s}from"../../vendor.js";import{c as o}from"../../hooks.js";import{T as a}from"../Text/index.js";var t=function(t){var p,l=t.field,n=o().element,i=e(n,l.key,l.default),x=l.options?r(p=l.options).call(p,(function(e){return e.value===i||e===i})):null;return s.exports.jsxs("span",{className:"oak-property",children:[s.exports.jsxs("span",{className:"oak-property-key",children:[s.exports.jsx(a,{children:l.label}),s.exports.jsx(a,{name:"core.propertyPairSeparator",default:": "})]}),s.exports.jsx("span",{className:"oak-property-value",children:x?s.exports.jsx(a,{children:x.title}):s.exports.jsx(a,{children:i})})]})};export{t as P};
//# sourceMappingURL=Property.js.map
