Przejdź do głównej zawartości

Interface: UsePickupPointWidgetOptions

Properties

onSelect

onSelect: (point) => void

Called every time the buyer picks a point on the map.

Parameters

point

PickupPointSelection

Returns

void


pickupConfig?

optional pickupConfig?: PickupWidgetConfigInput | null

pickupConfig of the shipping method the buyer selected. Null, a method without a map, or selectionMode: 'SEARCH' all leave the hook idle — render your own point list instead.