mirror of
https://github.com/hanzoai/docs-template.git
synced 2026-10-30 18:38:49 +00:00
12 lines
335 B
TypeScript
12 lines
335 B
TypeScript
import { source } from '@/lib/source';
|
|
import { DocsLayout } from '@hanzo/docs-ui/layouts/docs';
|
|
import { baseOptions } from '@/lib/layout.shared';
|
|
|
|
export default function Layout({ children }: LayoutProps<'/docs'>) {
|
|
return (
|
|
<DocsLayout tree={source.getPageTree()} {...baseOptions()}>
|
|
{children}
|
|
</DocsLayout>
|
|
);
|
|
}
|