UNPKG

react-native-gifted-chat

Version:
12 lines 597 B
import { ColorSchemeName } from 'react-native'; 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(): ColorSchemeName | null | undefined; } export declare const GiftedChatContext: import("react").Context<IGiftedChatContext>; export declare const useChatContext: () => IGiftedChatContext; //# sourceMappingURL=GiftedChatContext.d.ts.map