forked from CopilotKit/CopilotKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlayout.tsx
More file actions
23 lines (21 loc) · 711 Bytes
/
Copy pathlayout.tsx
File metadata and controls
23 lines (21 loc) · 711 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import "./global.css";
import { RootProvider } from "fumadocs-ui/provider";
import { Inter } from "next/font/google";
import type { ReactNode } from "react";
import { ProvidersWrapper } from "@/lib/providers/providers-wrapper";
import { CoagentsV0_3Banner } from "./coagents-0.3-banner";
const inter = Inter({
subsets: ["latin"],
});
export default async function Layout({ children }: { children: ReactNode }) {
return (
<html lang="en" className={inter.className} suppressHydrationWarning>
<body>
<ProvidersWrapper>
<CoagentsV0_3Banner />
<RootProvider theme={{ enabled: true }}>{children}</RootProvider>
</ProvidersWrapper>
</body>
</html>
);
}