Skip to content
Source
Sign inSign up
TanStack/form
Open History to see the last commit

root.tsx

29 lines540 Bytes

1import {
2 Links,
3 Meta,
4 Outlet,
5 Scripts,
6 ScrollRestoration,
7} from '@remix-run/react'
8​
9export function Layout({ children }: { children: React.ReactNode }) {
10 return (
11 <html lang="en">
12 <head>
13 <meta charSet="utf-8" />
14 <meta name="viewport" content="width=device-width, initial-scale=1" />
15 <Meta />
16 <Links />
17 </head>
18 <body>
19 {children}
20 <ScrollRestoration />
21 <Scripts />
22 </body>
23 </html>
24 )
26​
27export default function App() {
28 return <Outlet />