@selfcommunity/react-ui
Version:
React UI Components to integrate a Community created with SelfCommunity Platform.
11 lines (10 loc) • 511 B
TypeScript
import * as React from 'react';
/** @public */
export interface DisconnectButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
stopTracks?: boolean;
}
/**
* The `DisconnectButton` is a basic html button with the added ability to disconnect from a LiveKit room.
* Normally this is the big red button that allows end users to leave the video or audio call.
*/
export declare const DisconnectButton: (props: DisconnectButtonProps & React.RefAttributes<HTMLButtonElement>) => React.ReactNode;