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 461 B
Object.defineProperty(exports, "__esModule", { value: true }); exports.useChannelName = useChannelName; var _useSelectedChannelState = require("./useSelectedChannelState"); var selector = channel => channel.data?.name; var keys = ['channel.updated']; function useChannelName(channel) { return (0, _useSelectedChannelState.useSelectedChannelState)({ channel, selector, stateChangeEventKeys: keys }); } //# sourceMappingURL=useChannelName.js.map