import CryptocurrencyColorGeneric from "~icons/cryptocurrency-color/generic";
import CryptocurrencyColorTrx from "~icons/cryptocurrency-color/trx";
import CryptocurrencyColorUsdt from "~icons/cryptocurrency-color/usdt";

export const CryptoIcons = {
  USDT: CryptocurrencyColorUsdt,
  TRX: CryptocurrencyColorTrx,
  OPTS: CryptocurrencyColorGeneric,
};

export function getCryptoIcon(symbol: string) {
  return CryptoIcons[symbol as keyof typeof CryptoIcons] || CryptocurrencyColorGeneric;
}
