Skip to content

Commit

Permalink
React.FC > React.FunctionComponent
Browse files Browse the repository at this point in the history
  • Loading branch information
Yen Truong committed Nov 16, 2022
1 parent bb343f5 commit bd5ce80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Geolocation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit bd5ce80

Please sign in to comment.