UNPKG

matrix-react-sdk

Version:
14 lines (13 loc) 545 B
import React, { SyntheticEvent } from "react"; import { Room, IEventRelation } from "matrix-js-sdk/src/matrix"; import { MenuProps } from "../../structures/ContextMenu"; import { ILocationPickerProps } from "./LocationPicker"; type Props = Omit<ILocationPickerProps, "onChoose" | "shareType"> & { onFinished: (ev?: SyntheticEvent) => void; menuPosition: MenuProps; openMenu: () => void; roomId: Room["roomId"]; relation?: IEventRelation; }; declare const LocationShareMenu: React.FC<Props>; export default LocationShareMenu;