Home > @lynx-js/react/testing-library > RenderHookOptions > initialProps

RenderHookOptions.initialProps property

The argument passed to the renderHook callback. Can be useful if you plan to use the rerender utility to change the values passed to your hook.

Signature:

initialProps?: Props;
Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.