UNPKG

react-native-gifted-chat

Version:
11 lines 550 B
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