import { DocsLayout } from 'fumadocs-ui/layouts/docs';
import type { ReactNode } from 'react';
import { baseOptions } from '@/app/layout.config';
import { source } from '@/lib/source';
import { ThemeSwitcher } from '@/components/theme-switcher';
import XIcon from '@workspace/ui/components/icons/x-icon';
export default function Layout({ children }: { children: ReactNode }) {
return (
,
url: 'https://x.com/animate_ui',
text: 'X',
type: 'icon',
},
]}
tree={source.pageTree}
themeSwitch={{
component: ,
}}
{...baseOptions}
>
{children}
);
}