UNPKG

matrix-react-sdk

Version:
21 lines (20 loc) 783 B
import React from "react"; import { Room } from "matrix-js-sdk/src/matrix"; /** * Display a button to open a dialog to share a link to the call using a element call guest spa url (`element_call:guest_spa_url` in the EW config). * @param room * @returns Nothing if there is not the option to share a link (No guest_spa_url is set) or a button to open a dialog to share the link. */ export declare const CallGuestLinkButton: React.FC<{ room: Room; }>; /** * A dialog to change the join rule of a room to public or knock. * @param room The room to change the join rule of. * @param onFinished Callback that is getting called if the dialog wants to close. */ export declare const JoinRuleDialog: React.FC<{ onFinished(): void; room: Room; canInvite: boolean; }>;