Home > @uniformdev/context-react > TestComponentProps
TestComponentProps interface
Signature:
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
component | react__default.ComponentType<TVariation> | A React component to use to render the test variant. | |
loadingMode? | '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 | |
name | string | Name of the test that is running. | |
variations | TVariation[] | Variation list that this test will selected from. |