Skip to content

Commit

Permalink
feat: adds the onSuccess callback to CoordinateInfo component
Browse files Browse the repository at this point in the history
  • Loading branch information
mholthausen authored and simonseyock committed May 6, 2024
1 parent aad694f commit 1c0bec3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/CoordinateInfo/CoordinateInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export const CoordinateInfo: FC<CoordinateInfoProps> = ({
featureCount = 1,
fetchOpts = {},
onError = () => undefined,
onSuccess = () => undefined,
queryLayers = [],
resultRenderer = () => <></>
}) => {
Expand All @@ -34,6 +35,7 @@ export const CoordinateInfo: FC<CoordinateInfoProps> = ({
featureCount,
fetchOpts,
onError,
onSuccess,
queryLayers,
});

Expand Down

0 comments on commit 1c0bec3

Please sign in to comment.