Codewise
Courses
My learning
Ideas
Leaderboard
YouTube
Courses
My learning
Ideas
Leaderboard
YouTube
Sign in
src/app/(auth)/layout.tsx · ShortLink: URL Shortener | Codewise
ShortLink: URL Shortener
shortlink
/
src
/
app
/
(auth)
/
layout.tsx
layout.tsx
13 lines, 277 B
Raw
1
import
{ ReactNode }
from
"react"
;
2
3
interface
AuthLayoutProps
{
4
children
:
ReactNode
;
5
}
6
7
export
default
function
AuthLayout
({ children }
:
AuthLayoutProps)
{
8
return
(
9
<
div
className
=
"flex h-screen w-screen items-center justify-center"
>
10
{
children
}
11
</
div
>
12
);
13
}