Skip to content

Commit 469c0d1

Browse files
committed
Fix typo in linkState() example
1 parent 401b1a5 commit 469c0d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ Fortunately there is a solution, in the form of `linkState()`. Calling `componen
209209
```js
210210
class Foo extends Component {
211211
render({ }, { text }) {
212-
return <input value={text} inInput={this.linkState('text')} />;
212+
return <input value={text} onInput={this.linkState('text')} />;
213213
}
214214
}
215215
```

0 commit comments

Comments
 (0)