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