-
-
Notifications
You must be signed in to change notification settings - Fork 455
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Handle loading status - Use type script in config file to avoid invalid parameters - Update README
- Loading branch information
1 parent
eae971c
commit e571280
Showing
5 changed files
with
29 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { WrapperProps } from '@googlemaps/react-wrapper' | ||
|
||
/** | ||
* Secret Google Mpas API Config | ||
* | ||
* Create `maps.congig.ts` in `.storybook` folder | ||
* with the following content and replace `YOUR_API_KEY` | ||
* with your API Key provided by Google. | ||
* | ||
* `maps.config.ts` is ignored by git and will not be | ||
* committed to repository and/or published. | ||
*/ | ||
export const googleMapsApiConfig: WrapperProps = { | ||
// uncomment next line and replace `YOUR_API_KEY` with your API Key provided by Google. | ||
// apiKey: 'YOUR_API_KEY', | ||
libraries: ['drawing', 'visualization', 'places'], | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters