UNPKG

@amicaldo/strapi-google-maps

Version:

A Google Maps custom field for Strapi, allowing you to pick a location.

11 lines (10 loc) 504 B
import React from 'react'; import { Config, Coordinates, SetPointAction } from '../../../../types'; export default function MapView({ children, config, focusPoint, onCoordsChange, onAddressChange, onPlaceDetailsChange, }: { children: React.ReactNode; config?: Config; focusPoint?: Coordinates; onCoordsChange: (action: SetPointAction) => void; onAddressChange: (address: string) => void; onPlaceDetailsChange?: (details: any) => void; }): import("react/jsx-runtime").JSX.Element;