API Reference / @gtkx/testing / RenderHookOptions
Type Alias: RenderHookOptions<Props>
RenderHookOptions<
Props> =object&undefinedextendsProps?object:object
Defined in: packages/testing/dist/types.d.ts:202
Options for renderHook: an optional wrapper and the initial props (required unless the props type permits undefined).
Type Declaration
wrapper?
optionalwrapper?:WrapperComponent
Component wrapped around the one calling the hook, such as a context provider.
Type Parameters
Props
Props