react-native-gifted-chat
Version:
The most complete chat UI for React Native
11 lines • 550 B
TypeScript
import { ActionSheetOptions } from '@expo/react-native-action-sheet';
export interface IGiftedChatContext {
actionSheet(): {
showActionSheetWithOptions: (options: ActionSheetOptions, callback: (buttonIndex?: number) => void | Promise<void>) => void;
};
getLocale(): string;
getColorScheme(): 'light' | 'dark' | null | undefined;
}
export declare const GiftedChatContext: import("react").Context<IGiftedChatContext>;
export declare const useChatContext: () => IGiftedChatContext;
//# sourceMappingURL=GiftedChatContext.d.ts.map