-
Notifications
You must be signed in to change notification settings - Fork 2.6k
/
Copy pathindex.tsx
94 lines (85 loc) · 1.91 KB
/
index.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
export type { RemixBrowserProps } from "./browser";
export { RemixBrowser } from "./browser";
export type {
FormProps,
Location,
NavigateFunction,
Params,
Path,
ShouldRevalidateFunction,
SubmitFunction,
SubmitOptions,
unstable_Blocker,
unstable_BlockerFunction,
} from "react-router-dom";
export {
Form,
Outlet,
useAsyncError,
useAsyncValue,
isRouteErrorResponse,
useBeforeUnload,
useFormAction,
useHref,
useLocation,
useNavigate,
useNavigation,
useNavigationType,
useOutlet,
useOutletContext,
useParams,
useResolvedPath,
useRevalidator,
useRouteError,
useRouteLoaderData,
useSearchParams,
useSubmit,
unstable_useBlocker,
unstable_usePrompt,
} from "react-router-dom";
export type {
AwaitProps,
FetcherWithComponents,
RouteMatch,
RemixNavLinkProps as NavLinkProps,
RemixLinkProps as LinkProps,
} from "./components";
export {
Await,
Meta,
Links,
Scripts,
Link,
NavLink,
PrefetchPageLinks,
LiveReload,
useTransition,
useFetcher,
useFetchers,
useLoaderData,
useMatches,
useActionData,
RemixContext as UNSAFE_RemixContext,
} from "./components";
export type { FormMethod, FormEncType } from "./data";
export type { ThrownResponse } from "./errors";
export { useCatch } from "./errorBoundaries";
export type { HtmlLinkDescriptor } from "./links";
export type {
CatchBoundaryComponent,
HtmlMetaDescriptor,
RouteModules as UNSAFE_RouteModules,
} from "./routeModules";
export { ScrollRestoration } from "./scroll-restoration";
export type { RemixServerProps } from "./server";
export { RemixServer } from "./server";
export type { Fetcher } from "./transition";
export type {
FutureConfig as UNSAFE_FutureConfig,
AssetsManifest as UNSAFE_AssetsManifest,
RemixContextObject as UNSAFE_RemixContextObject,
} from "./entry";
export type {
EntryRoute as UNSAFE_EntryRoute,
RouteManifest as UNSAFE_RouteManifest,
} from "./routes";