Fix an argument name of TestUtils.renderIntoDocument (#8104)

This commit is contained in:
Toru Kobayashi
2016-10-26 21:44:46 +09:00
committed by Dan Abramov
parent 4f96d680c7
commit 27cfc54d16

View File

@@ -122,10 +122,10 @@ ReactTestUtils.Simulate.keyDown(node, {key: "Enter", keyCode: 13, which: 13});
### `renderIntoDocument()`
```javascript
renderIntoDocument(instance)
renderIntoDocument(element)
```
Render a component into a detached DOM node in the document. **This function requires a DOM.**
Render a React element into a detached DOM node in the document. **This function requires a DOM.**
> Note:
>