Files
niketchandivade dea722dea3 update react remove properties to support app route (#68324)
This PR updates the react-remove-properties example to use the App
Router. Here are the changes that have been made:

Renamed the "pages" folder to the "app" folder.
Updated the routing for / files to align with the App Router.
Added the layout.tsx file as part of the App Router.
CC @samcx

---------

Co-authored-by: niket <niket.chandivade@qed42.com>
Co-authored-by: samcx <sam@vercel.com>
2024-07-30 23:51:00 +00:00

17 lines
258 B
TypeScript

export const metadata = {
title: "Next.js",
description: "Generated by Next.js",
};
export default function RootLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<html lang="en">
<body>{children}</body>
</html>
);
}