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 8c3d10d commit 2e8094cCopy full SHA for 2e8094c
lib/KeyboardAwareHOC.js
@@ -137,7 +137,7 @@ const ScrollIntoViewDefaultOptions: KeyboardAwareHOCOptions = {
137
138
function KeyboardAwareHOC(
139
ScrollableComponent: React$Component,
140
- userOptions: KeyboardAwareHOCOptions
+ userOptions: KeyboardAwareHOCOptions = {}
141
) {
142
const hocOptions: KeyboardAwareHOCOptions = {
143
...ScrollIntoViewDefaultOptions,
0 commit comments