// The flat route list, shared by App.tsx and the pages (kept out of App.tsx so pages // can type their `navigate` prop without importing the shell). export const ROUTES = [ "overview", "library", "sources", "emulators", "settings", ] as const; export type Route = (typeof ROUTES)[number]; export type PageProps = { readonly navigate: (route: Route) => void; };