import{j as s,u as t,a as n}from"./fields-wnm5Jtc6.js";import"./vendor-D21mNUGX.js";import{P as r,I as p}from"./index-pmrLY__j.js";const l=({fieldType:i,css:e})=>{const{icon:a,label:o}=n(i);return s.jsxs("span",{className:`bg-white i-flex-center s-4 ${e||""}`,children:[s.jsx(p,{icon:a,width:18}),s.jsx("span",{className:"flex-shrink",children:t(o)})]})};l.propTypes={css:r.string,fieldType:r.object.isRequired};export{l as M};
