Home > @uniformdev/context-react > TestComponentProps
TestComponentProps interface
Signature:
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
react__default.ComponentType<TVariation> |
A React component to use to render the test variant. | ||
|
(Optional) Composition metadata where the A/B test is being rendered for analytics tracking | |||
|
'default' | 'none' | react__default.ComponentType |
(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 | ||
|
string |
Name of the test that is running. | ||
|
TVariation[] |
Variation list that this test will selected from. |