File tree 3 files changed +7
-0
lines changed
3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 312
312
- yuleicul
313
313
- zeromask1337
314
314
- zheng-chuang
315
+ - AlemTuzlak
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ export type {
43
43
RedirectFunction ,
44
44
ShouldRevalidateFunction ,
45
45
ShouldRevalidateFunctionArgs ,
46
+ LayoutComponentProps ,
46
47
UIMatch ,
47
48
} from "./lib/router/utils" ;
48
49
Original file line number Diff line number Diff line change
1
+ import type { ReactNode } from "react" ;
1
2
import type { Equal , Expect } from "../types/utils" ;
2
3
import type { Location , Path , To } from "./history" ;
3
4
import { invariant , parsePath , warning } from "./history" ;
@@ -192,6 +193,10 @@ export interface ShouldRevalidateFunction {
192
193
( args : ShouldRevalidateFunctionArgs ) : boolean ;
193
194
}
194
195
196
+ export interface LayoutComponentProps {
197
+ children : ReactNode
198
+ }
199
+
195
200
export interface DataStrategyMatch
196
201
extends AgnosticRouteMatch < string , AgnosticDataRouteObject > {
197
202
shouldLoad : boolean ;
You can’t perform that action at this time.
0 commit comments