voicebot-react-native-expo
Version:
This is a voicebot-react-native package of Kipps AI voice bot for React Native Expo
19 lines • 688 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.
*
* @example
* ```tsx
* <LiveKitRoom>
* <DisconnectButton>Leave room</DisconnectButton>
* </LiveKitRoom>
* ```
* @public
*/
export declare const DisconnectButton: (props: DisconnectButtonProps & React.RefAttributes<HTMLButtonElement>) => React.ReactNode;
//# sourceMappingURL=DisconnectButton.d.ts.map