interface TextInputComponentData
extends
BaseComponentDataexport interface TextInputComponentData extends BaseComponentData
string customId :
The custom id of the text input
string label :
The text that appears on top of the text input field
optionalnumber maxLength? :
The maximum number of characters that can be entered in the text input
optionalnumber minLength? :
The minimum number of characters that can be entered in the text input
optionalstring placeholder? :
Placeholder for the text input
optionalboolean required? :
Whether or not the text input is required or not
TextInputStyle style :
The style of the text input
ComponentType.TextInput type :
optionalstring value? :
The pre-filled text in the text input