react-native-gifted-chat
Version:
The most complete chat UI for React Native
10 lines (9 loc) • 444 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;
}
export declare const GiftedChatContext: import("react").Context<IGiftedChatContext>;
export declare const useChatContext: () => IGiftedChatContext;