Przejdź do głównej zawartości

Interface: UsePickupPointWidgetResult

Properties

error

error: Error | null


mountProps

mountProps: object

Spread onto the element that should hold the map. Style it however you like.

ref

ref: RefObject<HTMLDivElement | null>


status

status: PickupWidgetStatus

idle — nothing to mount (no map for this method). loading — fetching the carrier's script/stylesheet. ready — the map is mounted. unsupported — the API returned a map this SDK version does not know; fall back to search. error — the carrier's assets failed to load.