import { Link } from "react-router"; interface FooterLink { label: string; href: string; external?: boolean; } interface FooterProps { version?: string; links?: FooterLink[]; } export function Footer({ version = "1.30.0", links = [] }: FooterProps) { const defaultLinks = [ { label: "Privacy", href: "/privacy" }, { label: "Terms", href: "/terms" }, { label: "GitHub", href: "https://github.com/wren-ai/wren", external: true, }, ]; const allLinks = links.length > 0 ? links : defaultLinks; return ( ); }