react-native-gifted-chat
Version:
The most complete chat UI for React Native
10 lines • 361 B
JavaScript
import { createContext, useContext } from 'react';
export const GiftedChatContext = createContext({
getLocale: () => 'en',
actionSheet: () => ({
showActionSheetWithOptions: () => { },
}),
getColorScheme: () => undefined,
});
export const useChatContext = () => useContext(GiftedChatContext);
//# sourceMappingURL=GiftedChatContext.js.map