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

_pathlessLayout.tsx

17 lines351 Bytes

1import { createFileRoute } from '@tanstack/react-router'
2import * as React from 'react'
3import { Outlet } from '@tanstack/react-router'
4​
5export const Route = createFileRoute('/_pathlessLayout')({
6 component: LayoutComponent,
7})
8​
9function LayoutComponent() {
10 return (
11 <div>
12 <div>Layout</div>
13 <hr />
14 <Outlet />
15 </div>
16 )