We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f54334 commit ebbe6ebCopy full SHA for ebbe6eb
1 file changed
src/withNextInputAutoFocus.js
@@ -10,7 +10,7 @@ const withNextInputAutoFocusContextType = {
10
getReturnKeyType: PropTypes.func
11
};
12
13
-getInputs = children =>
+const getInputs = children =>
14
(isArray(children) ? children : [children]).reduce((partialInputs, child) => {
15
if (child.props && child.props.children) {
16
return partialInputs.concat(getInputs(child.props.children));
0 commit comments