Themes

Router/Types/Prompt
Prompt
Prompt = (location: LocationSegments action: string ) => string

LocationSegments

Name
Description
Type
hash

The current hash.

string
key

The key of the location.

string
pathname

The path from root.

string
query

The contents of the search params.

Record<string, any>
scrollPosition

A tuple of [x, y] scroll position.

[number, number]
search

The current search string.

string
state

Any state that has been attached to the current location.

any