reactlynx-testing-library / RenderResult

Type Alias: RenderResult<Q>

type RenderResult<Q>: object & { [P in keyof Q]: BoundFunction<Q[P]> };

The result of render

Type declaration

container

container: LynxElement;

rerender()

rerender: (ui: prettyFormat) => void;

Parameters

Parameter Type
ui prettyFormat

Returns

void

unmount()

unmount: () => boolean;

Returns

boolean

Type Parameters

Type Parameter Default type
Q extends Queries typeof queries

Defined in

index.d.ts:1424

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.