Transition: {
    from: Location;
    retry: Retry;
    to: Location;
}

Transition describes the transition when navigating from a Location to another Location.

Type declaration

  • from: Location

    Current location before navigation

  • retry: Retry

    Function to retry navigation

  • to: Location

    Location to navigate to