@tempots/ui

urlFromLocation() function

Returns the full URL based on the provided location data.

Signature:

urlFromLocation: (location: LocationData) => string

Parameters

Parameter

Type

Description

location

LocationData

The location data object.

Returns: string

The full URL string.