+ *
Share status: {mapShare.status}
+ * {mapShare.status === 'pending' &&
Waiting for recipient to accept...
}
+ * {mapShare.status === 'downloading' && (
Download in progress: {mapShare.downloadProgress}%
)}
+ * {mapShare.status === 'declined' &&
Share was declined by recipient
}
+ * {mapShare.status === 'canceled' &&
Share was canceled
}
+ *
)
+ * }
+ * ```
+ */
+export function useSingleSentMapShare({
+ shareId,
+}: {
+ shareId: string
+}): SentMapShareState {
+ const mapShare = useSentMapSharesState(
+ useCallback(
+ (shares: Array