@tempots/ui
locationFromURL() function
Converts a URL string into a LocationData object.
Signature:
locationFromURL: (url: string) => LocationData
Parameters
Parameter |
Type |
Description |
---|---|---|
url |
string |
The URL string to convert. |
Returns: LocationData
The LocationData object representing the URL.