mirror of
https://github.com/warmbly/warmbly.git
synced 2026-08-19 08:01:16 +00:00
12 lines
337 B
TypeScript
12 lines
337 B
TypeScript
import { source } from '@/lib/source';
|
|
import { DocsLayout } from 'fumadocs-ui/layouts/docs';
|
|
import { baseOptions } from '@/lib/layout.shared';
|
|
|
|
export default function Layout({ children }: LayoutProps<'/[...slug]'>) {
|
|
return (
|
|
<DocsLayout tree={source.getPageTree()} {...baseOptions()}>
|
|
{children}
|
|
</DocsLayout>
|
|
);
|
|
}
|