Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F99927602
server.d.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Jan 27, 07:59
Size
1 KB
Mime Type
text/x-java
Expires
Wed, Jan 29, 07:59 (2 d)
Engine
blob
Format
Raw Data
Handle
23851330
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
server.d.ts
View Options
import * as React from "react";
import type { Router as RemixRouter, StaticHandlerContext } from "@remix-run/router";
import type { Location, RouteObject } from "react-router-dom";
export interface StaticRouterProps {
basename?: string;
children?: React.ReactNode;
location: Partial<Location> | string;
}
/**
* A <Router> that may not navigate to any other location. This is useful
* on the server where there is no stateful UI.
*/
export declare function StaticRouter({ basename, children, location: locationProp, }: StaticRouterProps): JSX.Element;
export interface StaticRouterProviderProps {
context: StaticHandlerContext;
router: RemixRouter;
hydrate?: boolean;
nonce?: string;
}
/**
* A Data Router that may not navigate to any other location. This is useful
* on the server where there is no stateful UI.
*/
export declare function StaticRouterProvider({ context, router, hydrate, nonce, }: StaticRouterProviderProps): JSX.Element;
export declare function createStaticRouter(routes: RouteObject[], context: StaticHandlerContext): RemixRouter;
Event Timeline
Log In to Comment