nextjs-tailwindcss-headless.../app/layout.tsx

24 lines
483 B
TypeScript
Raw Normal View History

2023-08-25 12:43:48 +08:00
import './globals.css'
import type { Metadata } from 'next'
import { Inter } from 'next/font/google'
2023-08-25 13:14:23 +08:00
import React from "react";
2023-08-25 12:43:48 +08:00
const inter = Inter({ subsets: ['latin'] })
export const metadata: Metadata = {
title: 'Create Next App',
description: 'Generated by create next app',
}
export default function RootLayout({
children,
}: {
children: React.ReactNode
}) {
return (
<html lang="en">
<body className={inter.className}>{children}</body>
</html>
)
}