import type { AppRegistryMeta } from 'officerdev'; import { PanelLeft, LayoutGrid } from 'lucide-react'; import { TransmissionNav } from './TransmissionNav'; import { TransmissionView } from './TransmissionView'; import { TransmissionViewHeader } from './TransmissionViewHeader'; // `panels.ts`, not `.tsx` — discovery checks for that exact name. A section nav on the left and the view // on the right, both reading `:section` from the URL rather than being told by each other. export const appRegistryMetas: AppRegistryMeta[] = [ { key: 'transmission-nav', name: 'Transmission', icon: PanelLeft, component: TransmissionNav, availableOnPanel: false, }, { key: 'transmission-view', name: 'Transmission', icon: LayoutGrid, component: TransmissionView, header: TransmissionViewHeader, availableOnPanel: false, }, ];