import{U as F,j as s,V as f,W as m,X as c,Y as l,Z as w,$ as a,a0 as o,a1 as R,a2 as $,a3 as u,a4 as e,a5 as p,a6 as g,a7 as h,a8 as b}from"./strapi-BZkmC8So.js";const d={biginteger:s.jsx(e,{}),boolean:s.jsx(h,{}),date:s.jsx(a,{}),datetime:s.jsx(a,{}),decimal:s.jsx(e,{}),email:s.jsx(g,{}),enumeration:s.jsx(p,{}),float:s.jsx(e,{}),integer:s.jsx(e,{}),media:s.jsx(u,{}),password:s.jsx($,{}),relation:s.jsx(R,{}),string:s.jsx(o,{}),text:s.jsx(o,{}),richtext:s.jsx(o,{}),time:s.jsx(a,{}),timestamp:s.jsx(a,{}),json:s.jsx(w,{}),uid:s.jsx(l,{}),component:s.jsx(c,{}),dynamiczone:s.jsx(m,{}),blocks:s.jsx(f,{})},C=({type:r,customFieldUid:t})=>{const j=F("FieldTypeIcon",n=>n.customFields.get);if(!r)return null;let i=d[r];if(t){const x=j(t)?.icon;x&&(i=s.jsx(b,{marginRight:3,width:7,height:6,children:s.jsx(x,{})}))}return d[r]?i:null};export{C as F};
