UNPKG

5.17 kBJavaScriptView Raw
1/**
2 * react-router v7.0.1
3 *
4 * Copyright (c) Remix Software Inc.
5 *
6 * This source code is licensed under the MIT license found in the
7 * LICENSE.md file in the root directory of this source tree.
8 *
9 * @license MIT
10 */
11import {
12 Action,
13 Await,
14 BrowserRouter,
15 DataRouterContext,
16 DataRouterStateContext,
17 ErrorResponseImpl,
18 FetchersContext,
19 Form,
20 FrameworkContext,
21 HashRouter,
22 HistoryRouter,
23 IDLE_BLOCKER,
24 IDLE_FETCHER,
25 IDLE_NAVIGATION,
26 Link,
27 Links,
28 LocationContext,
29 MemoryRouter,
30 Meta,
31 NavLink,
32 Navigate,
33 NavigationContext,
34 Outlet,
35 PrefetchPageLinks,
36 RemixErrorBoundary,
37 Route,
38 RouteContext,
39 Router,
40 RouterProvider,
41 Routes,
42 Scripts,
43 ScrollRestoration,
44 ServerMode,
45 ServerRouter,
46 SingleFetchRedirectSymbol,
47 StaticRouter,
48 StaticRouterProvider,
49 ViewTransitionContext,
50 createBrowserHistory,
51 createBrowserRouter,
52 createClientRoutes,
53 createClientRoutesWithHMRRevalidationOptOut,
54 createCookie,
55 createCookieSessionStorage,
56 createHashRouter,
57 createMemoryRouter,
58 createMemorySessionStorage,
59 createPath,
60 createRequestHandler,
61 createRouter,
62 createRoutesFromChildren,
63 createRoutesStub,
64 createSearchParams,
65 createSession,
66 createSessionStorage,
67 createStaticHandler,
68 createStaticRouter,
69 data,
70 decodeViaTurboStream,
71 deserializeErrors,
72 generatePath,
73 getPatchRoutesOnNavigationFunction,
74 getSingleFetchDataStrategy,
75 invariant,
76 isCookie,
77 isRouteErrorResponse,
78 isSession,
79 mapRouteProperties,
80 matchPath,
81 matchRoutes,
82 parsePath,
83 redirect,
84 redirectDocument,
85 renderMatches,
86 replace,
87 resolvePath,
88 setDevServerHooks,
89 shouldHydrateRouteLoader,
90 useActionData,
91 useAsyncError,
92 useAsyncValue,
93 useBeforeUnload,
94 useBlocker,
95 useFetcher,
96 useFetchers,
97 useFogOFWarDiscovery,
98 useFormAction,
99 useHref,
100 useInRouterContext,
101 useLinkClickHandler,
102 useLoaderData,
103 useLocation,
104 useMatch,
105 useMatches,
106 useNavigate,
107 useNavigation,
108 useNavigationType,
109 useOutlet,
110 useOutletContext,
111 useParams,
112 usePrompt,
113 useResolvedPath,
114 useRevalidator,
115 useRouteError,
116 useRouteLoaderData,
117 useRoutes,
118 useScrollRestoration,
119 useSearchParams,
120 useSubmit,
121 useViewTransitionState
122} from "./chunk-WFMEQ3WA.mjs";
123export {
124 Await,
125 BrowserRouter,
126 Form,
127 HashRouter,
128 IDLE_BLOCKER,
129 IDLE_FETCHER,
130 IDLE_NAVIGATION,
131 Link,
132 Links,
133 MemoryRouter,
134 Meta,
135 NavLink,
136 Navigate,
137 Action as NavigationType,
138 Outlet,
139 PrefetchPageLinks,
140 Route,
141 Router,
142 RouterProvider,
143 Routes,
144 Scripts,
145 ScrollRestoration,
146 ServerRouter,
147 StaticRouter,
148 StaticRouterProvider,
149 DataRouterContext as UNSAFE_DataRouterContext,
150 DataRouterStateContext as UNSAFE_DataRouterStateContext,
151 ErrorResponseImpl as UNSAFE_ErrorResponseImpl,
152 FetchersContext as UNSAFE_FetchersContext,
153 FrameworkContext as UNSAFE_FrameworkContext,
154 LocationContext as UNSAFE_LocationContext,
155 NavigationContext as UNSAFE_NavigationContext,
156 RemixErrorBoundary as UNSAFE_RemixErrorBoundary,
157 RouteContext as UNSAFE_RouteContext,
158 ServerMode as UNSAFE_ServerMode,
159 SingleFetchRedirectSymbol as UNSAFE_SingleFetchRedirectSymbol,
160 ViewTransitionContext as UNSAFE_ViewTransitionContext,
161 createBrowserHistory as UNSAFE_createBrowserHistory,
162 createClientRoutes as UNSAFE_createClientRoutes,
163 createClientRoutesWithHMRRevalidationOptOut as UNSAFE_createClientRoutesWithHMRRevalidationOptOut,
164 createRouter as UNSAFE_createRouter,
165 decodeViaTurboStream as UNSAFE_decodeViaTurboStream,
166 deserializeErrors as UNSAFE_deserializeErrors,
167 getPatchRoutesOnNavigationFunction as UNSAFE_getPatchRoutesOnNavigationFunction,
168 getSingleFetchDataStrategy as UNSAFE_getSingleFetchDataStrategy,
169 invariant as UNSAFE_invariant,
170 mapRouteProperties as UNSAFE_mapRouteProperties,
171 shouldHydrateRouteLoader as UNSAFE_shouldHydrateRouteLoader,
172 useFogOFWarDiscovery as UNSAFE_useFogOFWarDiscovery,
173 useScrollRestoration as UNSAFE_useScrollRestoration,
174 createBrowserRouter,
175 createCookie,
176 createCookieSessionStorage,
177 createHashRouter,
178 createMemoryRouter,
179 createMemorySessionStorage,
180 createPath,
181 createRequestHandler,
182 createRoutesFromChildren,
183 createRoutesFromChildren as createRoutesFromElements,
184 createRoutesStub,
185 createSearchParams,
186 createSession,
187 createSessionStorage,
188 createStaticHandler,
189 createStaticRouter,
190 data,
191 generatePath,
192 isCookie,
193 isRouteErrorResponse,
194 isSession,
195 matchPath,
196 matchRoutes,
197 parsePath,
198 redirect,
199 redirectDocument,
200 renderMatches,
201 replace,
202 resolvePath,
203 HistoryRouter as unstable_HistoryRouter,
204 setDevServerHooks as unstable_setDevServerHooks,
205 usePrompt as unstable_usePrompt,
206 useActionData,
207 useAsyncError,
208 useAsyncValue,
209 useBeforeUnload,
210 useBlocker,
211 useFetcher,
212 useFetchers,
213 useFormAction,
214 useHref,
215 useInRouterContext,
216 useLinkClickHandler,
217 useLoaderData,
218 useLocation,
219 useMatch,
220 useMatches,
221 useNavigate,
222 useNavigation,
223 useNavigationType,
224 useOutlet,
225 useOutletContext,
226 useParams,
227 useResolvedPath,
228 useRevalidator,
229 useRouteError,
230 useRouteLoaderData,
231 useRoutes,
232 useSearchParams,
233 useSubmit,
234 useViewTransitionState
235};