layout.tsx 519 B

1234567891011121314151617181920212223
  1. import type { Metadata } from "next";
  2. import { Inter } from "next/font/google";
  3. import "./globals.css";
  4. const inter = Inter({ subsets: ["latin"] });
  5. export const metadata: Metadata = {
  6. title: "json-render React PDF Example",
  7. description:
  8. "Generate PDF documents from JSON specs with @json-render/react-pdf",
  9. };
  10. export default function RootLayout({
  11. children,
  12. }: {
  13. children: React.ReactNode;
  14. }) {
  15. return (
  16. <html lang="en">
  17. <body className={inter.className}>{children}</body>
  18. </html>
  19. );
  20. }