imnyang/cinny
Watch
1
0
Fork
You've already forked cinny
0

Add reusable dialog (#459)

Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
Ajay Bura 2022-03-31 20:39:05 +05:30 • committed by GitHub
commit 3f6e3074f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -150,3 +150,12 @@ export function openReusableContextMenu(placement, cords, render, afterClose) {
afterClose,
});
}
export function openReusableDialog(title, render, afterClose) {
appDispatcher.dispatch({
type: cons.actions.navigation.OPEN_REUSABLE_DIALOG,
title,
render,
afterClose,
});
}