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

This commit is contained in:
BerkieBb
2022-10-08 01:58:53 +02:00
committed by GitHub
parent 738296adfb
commit 242b4b6c79

View File

@@ -23,6 +23,7 @@ interface MenuProps {
onClose?: (keyPressed?: 'Escape' | 'Backspace') => void;
onSelected?: ChangeFunction;
onSideScroll?: ChangeFunction;
cb?: ChangeFunction;
}
type registerMenu = (data: MenuProps, cb: ChangeFunction) => void;