# Function Router

- Router(__namedParameters): React.ReactElement | null

- Provides location context for the rest of the app.

  Note: You usually won't render a `<Router>` directly. Instead, you'll render a router that is more specific to your environment such as a `<BrowserRouter>` in web browsers or a `<StaticRouter>` for server rendering.

  #### Parameters

  - __namedParameters: RouterProps

  #### Returns React.ReactElement | null

  #### See

  https://reactrouter.com/router-components/router

  - Defined in common/temp/node_modules/.pnpm/react-router@6.23.1_react@18.3.1/node_modules/react-router/dist/lib/components.d.ts:121