mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Merge pull request #1891 from robarnold/patch-1
Fix small issue in ReactContext comment
This commit is contained in:
@@ -40,7 +40,7 @@ var ReactContext = {
|
||||
* A typical use case might look like
|
||||
*
|
||||
* render: function() {
|
||||
* var children = ReactContext.withContext({foo: 'foo'} () => (
|
||||
* var children = ReactContext.withContext({foo: 'foo'}, () => (
|
||||
*
|
||||
* ));
|
||||
* return <div>{children}</div>;
|
||||
|
||||
Reference in New Issue
Block a user