19 lines
377 B
TypeScript
19 lines
377 B
TypeScript
import { GoogleMapsEmbed } from '@next/third-parties/google'
|
|
|
|
const Page = () => {
|
|
return (
|
|
<div className="container">
|
|
<h1>Google Maps Embed</h1>
|
|
<GoogleMapsEmbed
|
|
apiKey="XYZ"
|
|
height={200}
|
|
width="100%"
|
|
mode="place"
|
|
id="maps-embed"
|
|
q="Brooklyn+Bridge,New+York,NY"
|
|
/>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default Page
|