Browse Source

DOCS - typo in ref callback example

deleted extra ending curly brace in arrow function
main
arush 9 years ago
parent
commit
2b0c95d3be
  1. 2
      docs/08.1-more-about-refs.md

2
docs/08.1-more-about-refs.md

@ -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();

Loading…
Cancel
Save