AddressState
Where the address lookup for a position stands.
This is a type alias exported by @mapcairn/map, checked against version 0.2.0.
Signature
import type { AddressState } from "@mapcairn/map";
type AddressState = {
readonly status: "idle";
} | {
readonly status: "loading";
} | {
readonly status: "found";
readonly text: string;
} | {
readonly status: "none";
} | {
readonly status: "error";
};
Source: packages/map/src/tools/PinCard/useReverseAddress.ts:8