TextInputProperties
export type TextInputProperties = {
Enabled: CanBeState<boolean>?,
Text: CanBeValue<string>?,
OnChange: (newText: string) -> nil,
[any]: any,
}
The TextInputProperties
table that is given to the TextInput()
function that contains data about the desired TextInput
.
Properties
Enabled : CanBeState<boolean>?
Sets whether the TextInput
will be enabled or not. Can either be a State
containing a boolean
, or a boolean
.
Text : CanBeValue<string>?,
The default text that will be displayed on the TextInput
. Can either be a Value
containing a string
, or a string
.
This property can be changed by the end-user.
OnChange : (newText: string) -> nil,
The callback function that will be called when the Text
property changes.