stream-chat-react-native-core
Version:
The official React Native and Expo components for Stream Chat, a service for building chat applications
23 lines • 523 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.MessageInputHeightStore = void 0;
var _streamChat = require("stream-chat");
var INITIAL_STATE = {
height: 0
};
class MessageInputHeightStore {
store = new _streamChat.StateStore(INITIAL_STATE);
constructor() {
this.store.next({
height: 0
});
}
setHeight(height) {
this.store.next({
height
});
}
}
exports.MessageInputHeightStore = MessageInputHeightStore;
//# sourceMappingURL=message-input-height-store.js.map