Skip to content

Commit

Permalink
tweak(package/resource/interface/menu): add cb field
Browse files Browse the repository at this point in the history
  • Loading branch information
BerkieBb authored Oct 7, 2022
1 parent 738296a commit 242b4b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package/client/resource/interface/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ interface MenuProps {
onClose?: (keyPressed?: 'Escape' | 'Backspace') => void;
onSelected?: ChangeFunction;
onSideScroll?: ChangeFunction;
cb?: ChangeFunction;
}

type registerMenu = (data: MenuProps, cb: ChangeFunction) => void;
Expand Down

0 comments on commit 242b4b6

Please sign in to comment.