- Instalaciones:
yarn add --dev jest babel-jest @babel/preset-env @babel/preset-react
yarn add --dev @testing-library/react @types/jest jest-environment-jsdom
- Opcional: Si usamos Fetch API en el proyecto:
Configurar Nombre que salen en los commits
git config --global user.name "dasdo"
Configurar Email
git config --global user.email [email protected]
| import { FC, useCallback, useEffect, useRef, useState } from 'react'; | |
| import { Autocomplete, GoogleMap, Marker, useLoadScript } from '@react-google-maps/api'; | |
| import { GOOGLE_MAPS_API_KEY } from '../../utilities'; | |
| import { useGeoLocation } from '../../hooks'; | |
| import { notifyError } from './NotificationCustom'; | |
| type LatLngType = { | |
| lat: number; | |
| lng: number; | |
| }; |