layout.tsx 453 B

1234567891011121314151617181920
  1. import type { Metadata } from "next";
  2. export const metadata: Metadata = {
  3. title: "json-render React Three Fiber Example",
  4. description: "3D scenes from JSON specs with @json-render/react-three-fiber",
  5. };
  6. export default function RootLayout({
  7. children,
  8. }: {
  9. children: React.ReactNode;
  10. }) {
  11. return (
  12. <html lang="en">
  13. <body style={{ margin: 0, fontFamily: "system-ui, sans-serif" }}>
  14. {children}
  15. </body>
  16. </html>
  17. );
  18. }