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

* feat(interface/context): back button pressed

* fix(context): types
This commit is contained in:
Sam Shanks
2022-10-11 12:48:59 +01:00
committed by GitHub
parent 10acd71135
commit 2813bb288b
4 changed files with 7 additions and 4 deletions

View File

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