From bd5ce80c8b5327e36317a3d29f3d80e984b14220 Mon Sep 17 00:00:00 2001 From: Yen Truong Date: Wed, 16 Nov 2022 12:36:48 -0500 Subject: [PATCH] React.FC > React.FunctionComponent --- src/components/Geolocation.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Geolocation.tsx b/src/components/Geolocation.tsx index a77d87dda..18ff25cea 100644 --- a/src/components/Geolocation.tsx +++ b/src/components/Geolocation.tsx @@ -42,7 +42,7 @@ export interface GeolocationProps { /** The label for the button. Defaults to 'Use my location'. */ label?: string, /** Custom icon component to display along with the button. */ - GeolocationIcon?: React.FC, + GeolocationIcon?: React.FunctionComponent, /** * A function which is called when the geolocation button is clicked. * This is called prior to executing the existing click behavior.