UNPKG

stream-chat-react-native-core

Version:

The official React Native and Expo components for Stream Chat, a service for building chat applications

15 lines 466 B
Object.defineProperty(exports, "__esModule", { value: true }); exports.useChannelImage = useChannelImage; var _useSelectedChannelState = require("./useSelectedChannelState"); var selector = channel => channel.data?.image; var keys = ['channel.updated']; function useChannelImage(channel) { return (0, _useSelectedChannelState.useSelectedChannelState)({ channel, selector, stateChangeEventKeys: keys }); } //# sourceMappingURL=useChannelImage.js.map