Skip to content

Commit

Permalink
fix(typings): makes keyboardRef not required, as it is specified in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
goooseman committed Feb 6, 2020
1 parent b6ca536 commit 0590b70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/@types/index.d.ts
Expand Up @@ -147,7 +147,7 @@ declare module 'react-simple-keyboard' {
/**
* keyboardRef
*/
keyboardRef: (r: any) => void;
keyboardRef?: (r: any) => void;

/**
* Executes the callback function on key press. Returns button layout name (i.e.: "{shift}").
Expand Down

0 comments on commit 0590b70

Please sign in to comment.