Render an auto-growing textarea allow users to fill any textual content.
You can also pass any extra prop to the textarea rendered by this field.
A label for the field.
- Type:
String
- Required: No
Used to add help text below the field.
- Type:
String
- Required: No
For more read gutenberg readme.
Example:
text: {
type: 'string',
field: {
type: 'text',
placeholder: __( 'Enter text' ),
},
}
This will return text.
- Type:
string