Created
May 31, 2019 09:09
-
-
Save anchetaWern/086f169f0109949754202c3cb2627dde to your computer and use it in GitHub Desktop.
React Native Stream Group Chat Tutorial: Hide or show users modal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// src/screens/Chat.js | |
hideModal = (type) => { | |
this.setState({ | |
is_users_modal_visible: false | |
}); | |
} | |
showUsersModal = () => { | |
this.setState({ | |
is_users_modal_visible: true | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment