made EmojiBoard reusable

This commit is contained in:
unknown 2021-08-14 10:19:29 +05:30
parent 769fd7b524
commit 0404f30c87
7 changed files with 118 additions and 8 deletions

View file

@ -54,6 +54,14 @@ function openSettings() {
});
}
function openEmojiBoard(cords, requestEmojiCallback) {
appDispatcher.dispatch({
type: cons.actions.navigation.OPEN_EMOJIBOARD,
cords,
requestEmojiCallback,
});
}
export {
handleTabChange,
selectRoom,
@ -63,4 +71,5 @@ export {
openCreateChannel,
openInviteUser,
openSettings,
openEmojiBoard,
};