UNPKG

agora-react-native-rtm

Version:

React Native around the Agora RTM SDKs for Android and iOS agora

10 lines 466 B
import React, { ReactNode } from 'react'; import { RTMClient } from '../api/RTMClient'; export interface RTMProviderProps { readonly client: RTMClient; readonly children?: ReactNode; } export declare const AgoraRTMContext: React.Context<RTMClient | null>; export declare function RTMProvider({ client, children }: RTMProviderProps): React.JSX.Element; export declare function useRtm(client?: RTMClient | null): RTMClient; //# sourceMappingURL=useRtm.d.ts.map