stream-chat-react-native-core
Version:
The official React Native and Expo components for Stream Chat, a service for building chat applications
8 lines • 406 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.useCanEditChannel = void 0;
var _useChannelOwnCapabilities = require("./useChannelOwnCapabilities");
var useCanEditChannel = channel => (0, _useChannelOwnCapabilities.useChannelOwnCapabilities)(channel)?.includes('update-channel') ?? false;
exports.useCanEditChannel = useCanEditChannel;
//# sourceMappingURL=useCanEditChannel.js.map