Unique identifier for testing and accessibility
OptionaleditableWhether the input can be edited (default: true)
OptionallabelOptional label displayed above the input
OptionalvalueCurrent text value
OptionalplaceholderPlaceholder text displayed when the input is empty
OptionalmultilineWhether the input supports multiple lines (default: false).
Multiline inputs render as a UITextView on iOS, which captures vertical pan
gestures once its text overflows and never forwards them to an enclosing
ScrollView. Inner scrolling is therefore disabled so the field grows to fit its
content and the surrounding screen stays scrollable.
OptionalkeyboardType of keyboard to display (default: 'default')
OptionalmodeDisplay mode: outlined or flat (default: 'outlined')
OptionaldenseWhether to use dense styling (default: false)
OptionalerrorWhether the input has an error (displays error styling)
OptionalstyleCustom styles for the container view
OptionalcontentCustom styles for the text content
OptionalonCallback fired when input gains focus
OptionalonCallback fired when text changes
OptionalonCallback fired when editing ends, with the current displayed text
OptionalonCallback fired when input loses focus
OptionalonCallback fired when component layout changes
OptionalrightRight element (icon or affix) to display inside the input
OptionalautoWhether to enable auto-correct (default: true)
OptionalspellWhether to enable spell check (default: true)
OptionalaccessibilityAccessibility role exposed to assistive technologies (e.g. 'combobox')
OptionalaccessibilityAccessibility state exposed to assistive technologies (e.g. { expanded })
Props for the CustomTextInput component