26 lines
488 B
TypeScript
26 lines
488 B
TypeScript
import type { Metadata } from "next";
|
|
import "./globals.css";
|
|
import { Toaster } from "sonner";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Create Next App",
|
|
description: "Generated by create next app",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="zh-Hans">
|
|
<body
|
|
className={`antialiased`}
|
|
>
|
|
{children}
|
|
<Toaster richColors />
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|