synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
19 lines • 753 B
TypeScript
import { GeoData } from '@/synapse-client';
type SynapseUserMarkerProps = {
/** The location and users that this point represents */
geoData: GeoData;
/** Whether to show the list of users in a pop-up modal */
showInfoWindow: boolean;
/** Invoked when the marker is clicked */
onClick: () => void;
/** Invoked when the InfoWindow close button is clicked */
onInfoWindowCloseClick: () => void;
};
/**
* A Google Maps marker that represents a particular location for one or more Synapse users.
* @param props
* @returns
*/
export declare function SynapseUserMarker(props: SynapseUserMarkerProps): import("react/jsx-runtime").JSX.Element;
export default SynapseUserMarker;
//# sourceMappingURL=SynapseUserMarker.d.ts.map