From 1c0bec33c28105773432a6e6271c0f8e98768118 Mon Sep 17 00:00:00 2001 From: Michael Holthausen Date: Thu, 2 May 2024 10:56:39 +0200 Subject: [PATCH] feat: adds the onSuccess callback to CoordinateInfo component --- src/CoordinateInfo/CoordinateInfo.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/CoordinateInfo/CoordinateInfo.tsx b/src/CoordinateInfo/CoordinateInfo.tsx index 645e57de2f..7186214548 100644 --- a/src/CoordinateInfo/CoordinateInfo.tsx +++ b/src/CoordinateInfo/CoordinateInfo.tsx @@ -25,6 +25,7 @@ export const CoordinateInfo: FC = ({ featureCount = 1, fetchOpts = {}, onError = () => undefined, + onSuccess = () => undefined, queryLayers = [], resultRenderer = () => <> }) => { @@ -34,6 +35,7 @@ export const CoordinateInfo: FC = ({ featureCount, fetchOpts, onError, + onSuccess, queryLayers, });