21 lines
457 B
TypeScript
21 lines
457 B
TypeScript
import type { Metadata } from "next"
|
|
import type { ReactNode } from "react"
|
|
import "./globals.css"
|
|
import { Toaster } from "@/components/ui/sonner"
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Create Next App",
|
|
description: "Generated by create next app",
|
|
}
|
|
|
|
export default function RootLayout(props: { children: ReactNode }) {
|
|
return (
|
|
<html lang="zh-CN">
|
|
<body>
|
|
{props.children}
|
|
<Toaster />
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|