We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b75f00 commit 5eaac2dCopy full SHA for 5eaac2d
docs/api-reference.md
@@ -46,12 +46,13 @@ The `renderHook` function accepts the following options as the second parameter:
46
47
### `initialProps`
48
49
-The initial values to pass as `props` to the `callback` function of `renderHook.
+The initial values to pass as `props` to the `callback` function of `renderHook`.
50
51
### `wrapper`
52
53
A React component to wrap the test component in when rendering. This is usually used to add context
54
-providers from `React.createContext` for the hook to access with `useContext`.
+providers from `React.createContext` for the hook to access with `useContext`. `initialProps` and
55
+props subsequently set by `rerender` will be provided to the wrapper.
56
57
## `renderHook` Result
58
0 commit comments