Plumile JS API
Preparing search index...
router/src
RouteNode
Type Alias RouteNode
Minimal erased route node shape used by runtime helpers and recursive route trees.
type
RouteNode
=
{
children
?:
readonly
(
RouteNode
|
Redirect
)
[]
;
path
?:
string
;
prepare
?:
(
params
:
PrepareParams
<
any
,
any
,
any
>
)
=>
unknown
;
querySchema
?:
Schema
;
render
?:
(
opts
:
RouteRenderOpts
<
any
,
any
,
any
,
any
>
,
)
=>
|
ReactElement
|
null
|
undefined
|
Promise
<
ReactElement
|
null
|
undefined
>
;
resourcePage
?:
ResourcePage
|
null
;
}
Index
Properties
children?
path?
prepare?
query
Schema?
render?
resource
Page?
Properties
Optional
children
children
?:
readonly
(
RouteNode
|
Redirect
)
[]
Optional
path
path
?:
string
Optional
prepare
prepare
?:
(
params
:
PrepareParams
<
any
,
any
,
any
>
)
=>
unknown
Optional
query
Schema
querySchema
?:
Schema
Optional
render
render
?:
(
opts
:
RouteRenderOpts
<
any
,
any
,
any
,
any
>
,
)
=>
|
ReactElement
|
null
|
undefined
|
Promise
<
ReactElement
|
null
|
undefined
>
Optional
resource
Page
resourcePage
?:
ResourcePage
|
null
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
children
path
prepare
query
Schema
render
resource
Page
Plumile JS API
Loading...
Minimal erased route node shape used by runtime helpers and recursive route trees.