matrix-react-sdk
Version:
SDK for matrix.org using React
14 lines (13 loc) • 545 B
TypeScript
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;