Skip to content

Commit d846377

Browse files
authored
KeyboardAccessoryViewProps - fix 'onItemSelected' params for types (#1975)
1 parent 07c6a51 commit d846377

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/components/Keyboard/KeyboardInput/KeyboardAccessoryView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export type KeyboardAccessoryViewProps = {
5151
/**
5252
* Callback that will be called when an item on the keyboard has been pressed.
5353
*/
54-
onItemSelected?: () => void;
54+
onItemSelected?: (component?: string, args?: any) => void;
5555
/**
5656
* Callback that will be called if KeyboardRegistry.requestShowKeyboard is called.
5757
*/

0 commit comments

Comments
 (0)