mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Merge pull request #2649 from cookfront/master
In `Transferring Props` guide, `Manual Transfer` section will lead an er...
This commit is contained in:
@@ -38,7 +38,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
|
||||
|
||||
Reference in New Issue
Block a user