import{iW as r,fH as s,cX as l,cw as d,bs as u,js as g,dQ as p,aE as t,fU as i,aa as f,g0 as F,g9 as h,jp as e,g$ as b,cP as w,fC as C,bU as I}from"./strapi-ye6TfKul.js";const c={biginteger:s.jsx(e,{}),boolean:s.jsx(C,{}),date:s.jsx(t,{}),datetime:s.jsx(t,{}),decimal:s.jsx(e,{}),email:s.jsx(w,{}),enumeration:s.jsx(b,{}),float:s.jsx(e,{}),integer:s.jsx(e,{}),media:s.jsx(h,{}),password:s.jsx(F,{}),relation:s.jsx(f,{}),string:s.jsx(i,{}),text:s.jsx(i,{}),richtext:s.jsx(i,{}),time:s.jsx(t,{}),timestamp:s.jsx(t,{}),json:s.jsx(p,{}),uid:s.jsx(g,{}),component:s.jsx(u,{}),dynamiczone:s.jsx(d,{}),blocks:s.jsx(l,{})},R=({type:a,customFieldUid:o})=>{const m=r("FieldTypeIcon",x=>x.customFields.get);if(!a)return null;let n=c[a];if(o){const j=m(o)?.icon;j&&(n=s.jsx(I,{marginRight:3,width:7,height:6,children:s.jsx(j,{})}))}return c[a]?n:null};export{R as F};
