import "./UpdateAvailableBanner.css"; import { X } from "lucide-react"; interface UpdateAvailableBannerProps { latestVersion: string; currentVersion: string; onDismiss: () => void; } export function UpdateAvailableBanner({ latestVersion, currentVersion, onDismiss }: UpdateAvailableBannerProps) { return (

Update available: v{latestVersion} (current: v{currentVersion}). Run fn update for an installed CLI, or pull this source checkout.{" "} Release notes {" "} ยท{" "} Learn more

); }