UNPKG
nimbus-wallet-management
Version:
latest (4.0.0)
4.0.0
3.11.0
3.10.0
3.9.0
3.8.0
3.7.0
3.6.0
3.5.0
3.4.0
3.3.1
3.3.0
3.2.0
3.1.6
3.1.4
3.1.3
3.1.2
3.1.1
3.1.0
3.0.8
3.0.7
Nimbus Wallet Management solution inspired by Lifi
app.getnimbus.io
nimbus-wallet-management
/
_esm
/
utils
/
getConnectorIcon.js
8 lines
•
286 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
import
{ getWalletIcon }
from
'../icons.js'
;
export
const
getConnectorIcon
= (
connector
) => {
const
connectorId = connector?.
id
;
return
connectorId ?
getWalletIcon
(connectorId) || connector?.
icon
: connector?.
icon
; };
//# sourceMappingURL=getConnectorIcon.js.map