mirror of
https://github.com/lucide-icons/lucide.git
synced 2026-11-18 14:38:24 +00:00
28 lines
600 B
TypeScript
28 lines
600 B
TypeScript
import type { ReactNode } from 'react';
|
|||
|
|
import { Links, Meta, Outlet, Scripts, ScrollRestoration } from 'react-router';
|
||
|
|
|
||
|
|
export function Layout({ children }: Readonly<{ children: ReactNode }>) {
|
||
|
|
return (
|
||
|
|
<html lang="en">
|
||
|
|
<head>
|
||
|
|
<meta charSet="utf-8" />
|
||
|
|
<meta
|
||
|
|
content="width=device-width, initial-scale=1"
|
||
|
|
name="viewport"
|
||
|
|
/>
|
||
|
|
<Meta />
|
||
|
|
<Links />
|
||
|
|
</head>
|
||
|
|
<body>
|
||
|
|
{children}
|
||
|
|
<ScrollRestoration />
|
||
|
|
<Scripts />
|
||
|
|
</body>
|
||
|
|
</html>
|
||
|
|
);
|
||
|
|
}
|
||
|
|
|
||
|
|
export default function App() {
|
||
|
|
return <Outlet />;
|
||
|
|
}
|