Browse Source

Merge pull request #4686 from lyip1992/patch-5

Update 06-transferring-props.md
main
Paul O’Shannessy 10 years ago
parent
commit
e3217e9cdb
  1. 2
      docs/06-transferring-props.md

2
docs/06-transferring-props.md

@ -24,7 +24,7 @@ The rest of this tutorial explains best practices. It uses JSX and experimental
## Manual Transfer
Most of the time you should explicitly pass the properties down. That ensures that you only expose a subset of the inner API, one that you know will work.
Most of the time you should explicitly pass the properties down. This ensures that you only expose a subset of the inner API, one that you know will work.
```javascript
var FancyCheckbox = React.createClass({

Loading…
Cancel
Save