Add search modal (#132)

Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
Ajay Bura 2021-12-10 17:22:53 +05:30
parent 20443f8a4d
commit c9ec161ccc
10 changed files with 348 additions and 7 deletions

View file

@ -97,6 +97,13 @@ function replyTo(userId, eventId, body) {
});
}
function openSearch(term) {
appDispatcher.dispatch({
type: cons.actions.navigation.OPEN_SEARCH,
term,
});
}
export {
selectTab,
selectSpace,
@ -111,4 +118,5 @@ export {
openReadReceipts,
openRoomOptions,
replyTo,
openSearch,
};