mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-25 04:20:02 +00:00
13 lines
375 B
TypeScript
13 lines
375 B
TypeScript
import { DocsLayout } from 'fumadocs-ui/layouts/docs';
|
|
import type { ReactNode } from 'react';
|
|
import { baseOptions } from '@/lib/layout.shared';
|
|
import { source } from '@/lib/source';
|
|
|
|
export default function Layout({ children }: { children: ReactNode }) {
|
|
return (
|
|
<DocsLayout tree={source.getPageTree()} {...baseOptions()}>
|
|
{children}
|
|
</DocsLayout>
|
|
);
|
|
}
|