Home > @uniformdev/context-react > TestComponentProps

TestComponentProps interface

Signature:

Properties

PropertyModifiersTypeDescription
componentreact__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
namestringName of the test that is running.
variationsTVariation[]Variation list that this test will selected from.