mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-05 23:10:28 +03:00
Add action to open reusabel context menu
Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
parent
a2eb9734f1
commit
a279995982
3 changed files with 19 additions and 0 deletions
|
|
@ -110,3 +110,12 @@ export function openSearch(term) {
|
|||
term,
|
||||
});
|
||||
}
|
||||
|
||||
export function openReusableContextMenu(placement, cords, render) {
|
||||
appDispatcher.dispatch({
|
||||
type: cons.actions.navigation.OPEN_REUSABLE_CONTEXT_MENU,
|
||||
placement,
|
||||
cords,
|
||||
render,
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue