diff --git a/docs/api/ReactWrapper/renderProp.md b/docs/api/ReactWrapper/renderProp.md index 0575d60dd..5d8ffb418 100644 --- a/docs/api/ReactWrapper/renderProp.md +++ b/docs/api/ReactWrapper/renderProp.md @@ -79,7 +79,7 @@ expect(wrapper.equals(

The mouse position is 0, 0

)).to.equal(true); ```jsx const wrapper = mount() .find(Mouse) - .renderProp('render', [10, 20]); + .renderProp('render', 10, 20); expect(wrapper.equals(

The mouse position is 10, 20

)).to.equal(true); ``` diff --git a/docs/api/ShallowWrapper/renderProp.md b/docs/api/ShallowWrapper/renderProp.md index 2e85ffc4e..6d8c76965 100644 --- a/docs/api/ShallowWrapper/renderProp.md +++ b/docs/api/ShallowWrapper/renderProp.md @@ -79,7 +79,7 @@ expect(wrapper.equals(

The mouse position is 0, 0

)).to.equal(true); ```jsx const wrapper = shallow() .find(Mouse) - .renderProp('render', [10, 20]); + .renderProp('render', 10, 20); expect(wrapper.equals(

The mouse position is 10, 20

)).to.equal(true); ```