We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3cc038 commit 96a0f3aCopy full SHA for 96a0f3a
lib/KeyboardAwareHOC.js
@@ -154,9 +154,9 @@ function listenToKeyboardEvents(ScrollableComponent: React$Component) {
154
* @param extraHeight: takes an extra height in consideration.
155
*/
156
scrollToFocusedInput = (
157
- reactNode: Object,
158
- extraHeight: number,
159
- keyboardOpeningTime: number
+ reactNode: any,
+ extraHeight?: number,
+ keyboardOpeningTime?: number
160
) => {
161
if (extraHeight === undefined) {
162
extraHeight = this.props.extraHeight || 0
0 commit comments