Files
next-learn/dashboard/15-final/app/layout.tsx
2023-09-06 12:57:56 -05:00

22 lines
476 B
TypeScript

import './globals.css';
import type { Metadata } from 'next';
import { Inter } from 'next/font/google';
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={`bg-white ${inter.className}`}>{children}</body>
</html>
);
}