'use client'; import { ExternalLink } from 'lucide-react'; import React from 'react'; interface IpLinkProps { ip: string; children?: React.ReactNode; className?: string; target?: '_blank' | '_self'; } export function IpLink({ ip, children, className = '', target = '_blank' }: IpLinkProps) { const url = `https://ipinfo.io/${ip}`; return ( {children || ip} ); }