import type { Chain, ExtendedChain } from '@lifi/sdk' import { AvatarDefaultBadge } from './Avatar.style.js' import { SmallAvatar } from './SmallAvatar.js' interface ChainBadgeContentProps { chain?: Chain | ExtendedChain size?: number } export const ChainBadgeContent: React.FC = ({ chain, size = 16, }) => { if (chain?.logoURI) { return ( {chain.name?.[0]} ) } return }