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