generated from livechat/developer-app-template-nextjs
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathlayout.tsx
More file actions
29 lines (25 loc) · 717 Bytes
/
layout.tsx
File metadata and controls
29 lines (25 loc) · 717 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import { AppProvider } from "@livechat/developer-ui-react";
import { AppConfig } from "@livechat/developer-sdk";
import config from "livechat.config.json";
import "./globals.css";
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "Text Platform | App - Next.js SaaS boilerplate",
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en">
<body className={inter.className}>
<AppProvider config={config as unknown as AppConfig}>
{children}
</AppProvider>
</body>
</html>
);
}