Browse Source

Update 06-transferring-props.md

main
Patrick Laughlin 10 years ago
parent
commit
d1eda2cb43
  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 ## Manual Transfer
Most of the time you should explicitly pass the properties down. That ensures that you only exposes a subset of the inner API, one that you know will work. 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.
```javascript ```javascript
var FancyCheckbox = React.createClass({ var FancyCheckbox = React.createClass({

Loading…
Cancel
Save