import{t as e}from"./jsx-runtime.js";import{t}from"./WalletIcon.js";var n=e(),r=({icon:e,name:r})=>typeof e==`string`?(0,n.jsx)(`img`,{alt:`${r||`wallet`} logo`,src:e,style:{height:24,width:24,borderRadius:4}}):e===void 0?(0,n.jsx)(t,{style:{height:24,width:24}}):e?(0,n.jsx)(e,{style:{height:24,width:24}}):null;export{r as t};