matrix-react-sdk
Version:
SDK for matrix.org using React
17 lines (16 loc) • 442 B
TypeScript
import React, { ReactNode } from "react";
import * as maplibregl from "maplibre-gl";
import { RoomMember } from "matrix-js-sdk/src/matrix";
export interface SmartMarkerProps {
map: maplibregl.Map;
geoUri: string;
id?: string;
roomMember?: RoomMember;
useMemberColor?: boolean;
tooltip?: ReactNode;
}
/**
* Generic location marker
*/
declare const SmartMarker: React.FC<SmartMarkerProps>;
export default SmartMarker;