Home > @uniformdev/context-react > TestComponentProps

TestComponentProps interface

Signature:

Properties

<table><thead><tr><th>

Property

</th><th>

Modifiers

</th><th>

Type

</th><th>

Description

</th></tr></thead> <tbody><tr><td>

component

</td><td>

</td><td>

react__default.ComponentType<TVariation>

</td><td>

A React component to use to render the test variant.

</td></tr> <tr><td>

loadingMode?

</td><td>

</td><td>

'default' | 'none' | react__default.ComponentType

</td><td>

(Optional) Determines what should be rendered if testing is in a "loading" state. default: shows the default variation while loading none: shows nothing while loading React component: shows the component while loading

</td></tr> <tr><td>

name

</td><td>

</td><td>

string

</td><td>

Name of the test that is running.

</td></tr> <tr><td>

variations

</td><td>

</td><td>

TVariation[]

</td><td>

Variation list that this test will selected from.

</td></tr> </tbody></table>