UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

15 lines 713 B
export type MapProps = { /** If selected, then the map will only show locations for users in a particular team. */ teamId?: string; /** Override the Google Maps API key used by the component. Useful for Storybook. */ apiKeyOverride?: string; }; /** * Returns a map component showing the locations of Synapse users. Note that this component must be wrapped in a container with defined size, or else the map will not appear. * Note that the geolocation data is updated via a cron job, so the map will not update in real time. * @param props * @returns */ declare function Map(props: MapProps): import("react/jsx-runtime").JSX.Element; export default Map; //# sourceMappingURL=GoogleMap.d.ts.map