import { CloudOutlined } from '@ant-design/icons'; interface CountryPillProps { flag: string; name: string; warp?: string; } export default function CountryPill({ flag, name, warp }: CountryPillProps) { const isWarp = !!warp && warp.toLowerCase() !== 'off'; return ( {isWarp && } {flag && {flag}} {name} ); }