Skip to content

Commit b025bd7

Browse files
committed
fix typo and linting
1 parent ab69e78 commit b025bd7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/InputHints.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,15 +150,17 @@ class InputHints extends Component {
150150

151151
function inputWrapper(WrappedComponent) {
152152
class Input extends Component {
153+
/* eslint-disable brace-style */
153154
focus() { this.c._getTextInputNode().focus() }
154155
blur() { this.c._getTextInputNode().blur() }
156+
/* eslint-enable brace-style */
155157

156158
render() {
157159
return <WrappedComponent {...this.props} ref={(c) => this.c = c} />
158160
}
159161
}
160162
Input.displayName = WrappedComponent.displayName || 'Component'
161-
return input
163+
return Input
162164
}
163165

164166
module.exports = inputWrapper(InputHints)

0 commit comments

Comments
 (0)