Browse Source

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

main
Toru Kobayashi 9 years ago
committed by Dan Abramov
parent
commit
27cfc54d16
  1. 4
      docs/addons-test-utils.md

4
docs/addons-test-utils.md

@ -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:
>

Loading…
Cancel
Save