Files
consensus/docs/app/docs/layout.tsx
zeekay 34dee5dc3c deps: update docs to latest @hanzo/docs-* packages
Migrate from deprecated @hanzo/mdx + @hanzo/ui to the new
@hanzo/docs (16.4.1), @hanzo/docs-mdx (14.2.8), and
@hanzo/docs-ui (16.5.3) package stack. Update all import paths
to use correct subpath exports and switch CLI from hanzo-mdx
to docs-mdx.
2026-02-09 00:07:11 -08:00

12 lines
339 B
TypeScript

import { source } from "@/lib/source"
import type { ReactNode } from "react"
import { DocsLayout } from "@hanzo/docs-ui/layouts/docs"
export default async function Layout({ children }: { children: ReactNode }) {
return (
<DocsLayout tree={source.pageTree} sidebar={{ defaultOpenLevel: 0 }}>
{children}
</DocsLayout>
)
}