/** U2 Task 6: the Annotations tab with a real navigation, so its properties dialog opens. */ import DrawingGuardDialog from '@/components/editor/annotations/DrawingGuardDialog' import AnnotationsTab, { type AnnotationsTabProps, } from '@/components/editor/tabs/AnnotationsTab' import { annotationLayerOf } from '@/editor/findingLayer' import { AnnounceContext } from '@/editor/focusRequest' import { useEditorNavigation, type EditorNavigation, } from '@/editor/useEditorNavigation' /** The last navigation a `LayeredTab` rendered with, for the tests to drive (Back, Forward). */ export const layered: { nav: EditorNavigation | null } = { nav: null } export function LayeredTab( props: Omit, ) { const nav = useEditorNavigation('annotations') layered.nav = nav return ( {/* The workspace's drawing question (R-12), as EditorWorkspace mounts it. */}

{nav.live}

) }