diff --git a/src/CoordinateInfo/CoordinateInfo.tsx b/src/CoordinateInfo/CoordinateInfo.tsx index 718621454..d2f8960bc 100644 --- a/src/CoordinateInfo/CoordinateInfo.tsx +++ b/src/CoordinateInfo/CoordinateInfo.tsx @@ -21,23 +21,11 @@ export type CoordinateInfoProps = { * */ export const CoordinateInfo: FC = ({ - drillDown = true, - featureCount = 1, - fetchOpts = {}, - onError = () => undefined, - onSuccess = () => undefined, - queryLayers = [], - resultRenderer = () => <> + resultRenderer = () => <>, + ...passThroughProps }) => { - const result = useCoordinateInfo({ - drillDown, - featureCount, - fetchOpts, - onError, - onSuccess, - queryLayers, - }); + const result = useCoordinateInfo(passThroughProps); if (_isNil(result)) { return null;