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

StartServer.tsx

8 lines251 Bytes

1import { RouterProvider } from '@tanstack/solid-router'
2import type { AnyRouter } from '@tanstack/router-core'
3​
4export function StartServer<TRouter extends AnyRouter>(props: {
5 router: TRouter
6}) {
7 return <RouterProvider router={props.router} />
8}