voicebot-react-native-expo
Version:
This is a voicebot-react-native package of Kipps AI voice bot for React Native Expo
23 lines • 718 B
TypeScript
import { Room } from 'livekit-client';
import * as React from 'react';
/** @public */
export interface ConnectionStatusProps extends React.HTMLAttributes<HTMLDivElement> {
/**
* The room from which the connection status should be displayed.
*/
room?: Room;
}
/**
* The `ConnectionState` component displays the connection status of the room as strings
* (`"connected" | "connecting" | "disconnected" | "reconnecting"`).
*
* @example
* ```tsx
* <LiveKitRoom>
* <ConnectionState />
* </LiveKitRoom>
* ```
* @public
*/
export declare const ConnectionState: (props: ConnectionStatusProps & React.RefAttributes<HTMLDivElement>) => React.ReactNode;
//# sourceMappingURL=ConnectionState.d.ts.map