The properies needed to map the user-entered value for the wrapped component to the Database.
The optional default value to store in the Database if the component hasn't been changed by the user.
The value to consider as an empty input when updating the Database.
If ComponentWrapper.databaseMap is defined, then this will also be defined.
A function to render an instance of the component.
A callback to determine when the component should be rendered.
Whether or not to require an answer to this component if it is visible.
This will be ignored unless ComponentWrapper.databaseMap is defined.
The proptype validator for a ComponentWrapper.
Wrap a DynamicComponent in a ComponentWrapper ready to be included in a StepDefinition.
You shouldn't need to provide any of the type parameters. They should be infered from the DynamicComponent passed in.
Wrap a StaticComponent in a ComponentWrapper ready to be included in a StepDefinition.
The schema used by the
DynamicComponents of this StepDefinition.
It's possible to infer this if StaticComponent.renderWhen is
implemented on component
.
Generated using TypeDoc
A wrapper for a StaticComponent or DynamicComponent for use in a StepDefinition.
Create these using ComponentWrapper.wrapStatic and ComponentWrapper.wrapDynamic.