Merge pull request #4869 from arush/patch-1

DOCS - typo in ref callback example
This commit is contained in:
Paul O’Shannessy
2015-09-14 11:42:08 -07:00
+1 -1
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();