DOCS - typo in ref callback example

deleted extra ending curly brace in arrow function
This commit is contained in:
arush
2015-09-14 11:40:44 -07:00
parent d032c14cda
commit 2b0c95d3be

View File

@@ -94,7 +94,7 @@ It's as simple as adding a `ref` attribute to anything returned from `render` by
```html
render: function() {
return <TextInput ref={(c) => this._input = c} } />;
return <TextInput ref={(c) => this._input = c} />;
},
componentDidMount: function() {
this._input.focus();