MCPcopy Create free account
hub / github.com/TanStack/router / Shell

Function Shell

e2e/react-start/css-inline/src/components/Shell.tsx:5–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3import styles from '~/styles/shell.module.css'
4
5export function Shell() {
6 useEffect(() => {
7 ;(window as any).__CSS_INLINE_E2E_HYDRATED__ = true
8 }, [])
9
10 return (
11 <main className={styles.shell} data-testid="shell">
12 <nav className={styles.nav}>
13 <Link data-testid="nav-home" to="/">
14 Home
15 </Link>
16 <Link data-testid="nav-dashboard" to="/app/dashboard">
17 Dashboard
18 </Link>
19 <Link data-testid="nav-details" to="/app/dashboard/details">
20 Details
21 </Link>
22 </nav>
23 <Outlet />
24 </main>
25 )
26}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected