UNPKG

react-native-gifted-chat

Version:

The most complete chat UI for React Native. Maintenance mode - active development continues in @kesha-antonov/react-native-chat

10 lines • 356 B
import { createContext, useContext } from 'react'; export const GiftedChatContext = createContext({ getLocale: () => 'en', actionSheet: () => ({ showActionSheetWithOptions: () => { }, }), getColorScheme: () => null, }); export const useChatContext = () => useContext(GiftedChatContext); //# sourceMappingURL=GiftedChatContext.js.map