"use client" import * as React from "react" import { cn } from "../../lib/utils" /** * `Navigator` is the replacement for `@wordpress/components`' `Navigator` - **2 imports**, * `HistoryNavigator` and `QuestionnairePage`. * * IT IS A ROUTER, WHICH IS WHY THERE IS NO RADIX EQUIVALENT TO REACH FOR. WordPress's Navigator keeps * a stack of paths and shows the one Screen whose `path` is on top; Button pushes, BackButton pops. * Both call sites use it for the same thing - a details view that slides to a history or search view * and back - and neither uses react-router for it, because these are panes inside a page rather than * URLs. * * `Button` AND `BackButton` MUST RENDER REAL `