The Info Screen isn’t a question even though it is defined as one in the questions object. The Info Screen is used when you want to give the user some information.
See questions object to learn more about question types the library supports.
The behavior of the Info Screen can be defined with the following props.
Prop | Description | Type |
---|---|---|
text (required) |
The question heading. | String |
content |
The content you want the info screen to display. This can be an HTML string literal. | String |
{
type:'info',
text:'Some things you should know.',
content:`Please hit next to proceed. `,
}