Browse Source

The same problem in issue #2648

main
cookfront 10 years ago
parent
commit
83d5a4514d
  1. 2
      docs/06-transferring-props.md

2
docs/06-transferring-props.md

@ -71,7 +71,7 @@ var FancyCheckbox = React.createClass({
}
});
React.render(
<FancyCheckbox checked={true} onClick={console.log}>
<FancyCheckbox checked={true} onClick={console.log.bind(console)}>
Hello world!
</FancyCheckbox>,
document.body

Loading…
Cancel
Save