feat(interface/context): context menu onBack function (#122)

* feat(interface/context): back button pressed

* fix(context): types
This commit is contained in:
Sam Shanks authored and GitHub committed 2022-10-11 13:48:59 +02:00
1 parent 10acd71135
commit 2813bb288b
4 files changed
+7 -4

No files matched your search

@@ -23,6 +23,7 @@ interface ContextMenuProps {
title: string;
menu?: string;
onExit?: () => void;
onBack?: () => void;
canClose?: boolean;
options: { [key: string]: ContextMenuItem } | ContextMenuArrayItem[];
}