tweak(package/resource/interface/menu): add cb field

This commit is contained in:
BerkieBb authored and GitHub committed 2022-10-08 01:58:53 +02:00
1 parent 738296adfb
commit 242b4b6c79
1 file changed
+1
@@ -23,6 +23,7 @@ interface MenuProps {
onClose?: (keyPressed?: 'Escape' | 'Backspace') => void;
onSelected?: ChangeFunction;
onSideScroll?: ChangeFunction;
cb?: ChangeFunction;
}
type registerMenu = (data: MenuProps, cb: ChangeFunction) => void;