17 lines
377 B
TypeScript
17 lines
377 B
TypeScript
import type { Metadata } from "next";
|
|
import type { ReactNode } from "react";
|
|
import "./globals.css";
|
|
|
|
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}</body>
|
|
</html>
|
|
);
|
|
}
|