DOCS - typo in ref callback example
deleted extra ending curly brace in arrow function
arush committed
Sep 14, 2015 at 11:40 UTC
29551f84b8528d3c995fe8410eae8dce1389966e
1 file changed
+1
-1
docs/docs/08.1-more-about-refs.md
+1
-1
@@ -94,7 +94,7 @@ It's as simple as adding a `ref` attribute to anything returned from `render` by
94
95
```html
96
render: function() {
97
- return <TextInput ref={(c) => this._input = c} } />;
97
+ return <TextInput ref={(c) => this._input = c} />;
98
},
99
componentDidMount: function() {
100
this._input.focus();