From 1cffe4baa624f7fc018db43cee2f4a5d649e2a16 Mon Sep 17 00:00:00 2001 From: Jason Brooks Date: Wed, 13 Dec 2023 21:40:00 +0100 Subject: [PATCH] docs: correct links to sources for hooks (#130) --- docs/api-reference/hooks/use-api-is-loaded.md | 4 ++-- docs/api-reference/hooks/use-api-loading-status.md | 4 ++-- docs/api-reference/hooks/use-map.md | 4 ++-- docs/api-reference/hooks/use-maps-library.md | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/api-reference/hooks/use-api-is-loaded.md b/docs/api-reference/hooks/use-api-is-loaded.md index 3eb693c2..2cea8f6c 100644 --- a/docs/api-reference/hooks/use-api-is-loaded.md +++ b/docs/api-reference/hooks/use-api-is-loaded.md @@ -27,6 +27,6 @@ Returns a boolean indicating if the Maps JavaScript API completed loading. ## Source -[`src/hooks/use-api-is-loaded.tsx`][src] +[`src/hooks/use-api-is-loaded.ts`][src] -[src]: https://github.com/visgl/react-google-maps/blob/main/src/hooks/use-api-is-loaded.tsx +[src]: https://github.com/visgl/react-google-maps/blob/main/src/hooks/use-api-is-loaded.ts diff --git a/docs/api-reference/hooks/use-api-loading-status.md b/docs/api-reference/hooks/use-api-loading-status.md index 4d3f6361..cc036cb0 100644 --- a/docs/api-reference/hooks/use-api-loading-status.md +++ b/docs/api-reference/hooks/use-api-loading-status.md @@ -28,6 +28,6 @@ Returns the current loading-state. ## Source -[`src/hooks/use-api-loading-status.tsx`][src] +[`src/hooks/use-api-loading-status.ts`][src] -[src]: https://github.com/visgl/react-google-maps/blob/main/src/hooks/use-api-loading-status.tsx +[src]: https://github.com/visgl/react-google-maps/blob/main/src/hooks/use-api-loading-status.ts diff --git a/docs/api-reference/hooks/use-map.md b/docs/api-reference/hooks/use-map.md index ce9f7b04..1d4d2b60 100644 --- a/docs/api-reference/hooks/use-map.md +++ b/docs/api-reference/hooks/use-map.md @@ -91,7 +91,7 @@ the parent map instance, or the default map instance if there is no parent. ## Source -[`src/hooks/use-map.tsx`][src] +[`src/hooks/use-map.ts`][src] -[src]: https://github.com/visgl/react-google-maps/blob/main/src/hooks/use-map.tsx +[src]: https://github.com/visgl/react-google-maps/blob/main/src/hooks/use-map.ts [gmp-map-ref]: https://developers.google.com/maps/documentation/javascript/reference/map#Map diff --git a/docs/api-reference/hooks/use-maps-library.md b/docs/api-reference/hooks/use-maps-library.md index ced7f424..cef2f0b3 100644 --- a/docs/api-reference/hooks/use-maps-library.md +++ b/docs/api-reference/hooks/use-maps-library.md @@ -32,7 +32,7 @@ The name of the library that should be loaded ## Source -[`src/hooks/use-maps-library.tsx`][src] +[`src/hooks/use-maps-library.ts`][src] [gmp-libraries]: https://developers.google.com/maps/documentation/javascript/libraries -[src]: https://github.com/visgl/react-google-maps/blob/main/src/hooks/use-maps-library.tsx +[src]: https://github.com/visgl/react-google-maps/blob/main/src/hooks/use-maps-library.ts