File
Blob: src/sites/island-hosts/site-outline-controller.tsx
| 1 | import { OutlinePresentation } from "@/shared/editor/presentation/outline"; |
| 2 | import type { SiteOutlineControllerProps } from "@/shared/sites/island-schemas"; |
| 3 | import { SiteIslandHost } from "./island-host"; |
| 4 | |
| 5 | export function SiteOutlineControllerIslandHost(props: SiteOutlineControllerProps) { |
| 6 | return ( |
| 7 | <SiteIslandHost name="site-outline-controller" props={props}> |
| 8 | <OutlinePresentation items={props.items} mode="link" variant="rail" /> |
| 9 | </SiteIslandHost> |
| 10 | ); |
| 11 | } |