The paragraph question is used when the current question has a type
property with the value of paragraph
.
It provides more space for the user to type than the text input question does.
See questions object to learn more about question types the library supports.
The behavior of this question can be defined with the following props.
Prop | Description |
---|---|
text (required) |
The question heading. |
description |
The question description. |
next |
Reference to the next question. |
min (default = 0) |
The minimum character value the question should accept. |
max (default = 10,000) |
The maximum character value the question should accept. |
{
type:'paragraph',
text:`Any details you want to add?`,
required: false
}