silverwolf-x's picture
download
raw
651 Bytes
import { GoogleMapsEmbed as TPCGoogleMapEmbed } from 'third-party-capital'
import ThirdPartyScriptEmbed from '../ThirdPartyScriptEmbed'
import type { GoogleMapsEmbed as GoogleMapsEmbedTypes } from '../types/google'
export default function GoogleMapsEmbed(props: GoogleMapsEmbedTypes) {
const { apiKey, ...restProps } = props
const formattedProps = { ...restProps, key: apiKey }
const { html } = TPCGoogleMapEmbed(formattedProps)
return (
<ThirdPartyScriptEmbed
height={formattedProps.height || null}
width={formattedProps.width || null}
html={html}
dataNtpc="GoogleMapsEmbed"
></ThirdPartyScriptEmbed>
)
}

Xet Storage Details

Size:
651 Bytes
·
Xet hash:
bf4adf1a61a041d47a76af6cafb32984ab6daacc9361d3927c76d7e27c4cc2fe

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.