diff --git a/docs/api/mount.md b/docs/api/mount.md index c5fdc42e3..6e5bd5c9d 100644 --- a/docs/api/mount.md +++ b/docs/api/mount.md @@ -162,7 +162,7 @@ Simulates an event on the current node. #### [`.setState(nextState) => ReactWrapper`](ReactWrapper/setState.md) Manually sets state of the root component. -#### [`.setProps(nextProps) => ReactWrapper`](ReactWrapper/setProps.md) +#### [`.setProps(nextProps[, callback]) => ReactWrapper`](ReactWrapper/setProps.md) Manually sets props of the root component. #### [`.setContext(context) => ReactWrapper`](ReactWrapper/setContext.md) diff --git a/docs/api/shallow.md b/docs/api/shallow.md index 1bfaf40c9..5df7cf49f 100644 --- a/docs/api/shallow.md +++ b/docs/api/shallow.md @@ -178,7 +178,7 @@ Simulates an event on the current node. #### [`.setState(nextState) => ShallowWrapper`](ShallowWrapper/setState.md) Manually sets state of the root component. -#### [`.setProps(nextProps) => ShallowWrapper`](ShallowWrapper/setProps.md) +#### [`.setProps(nextProps[, callback]) => ShallowWrapper`](ShallowWrapper/setProps.md) Manually sets props of the root component. #### [`.setContext(context) => ShallowWrapper`](ShallowWrapper/setContext.md)