LabelledMaskedTextInput
Component | Source Code
extends MaskedTextInputProps, LabelledProps
Props Inheritance Hierarchy: Omit<TextInputProps, “onChangeText”> -> MaskedTextInputProps & LabelledProps
Properties
Section titled “Properties”error?: string
Section titled “error?: string”info?: string
Section titled “info?: string”label?: string
Section titled “label?: string”labelPosition?: LabelPosition
Section titled “labelPosition?: LabelPosition”What position the label text appears relative to the input.
labelProps?: LabelProps
Section titled “labelProps?: LabelProps”labelTextProps?: InlineTextProps
Section titled “labelTextProps?: InlineTextProps”mask?: RegExp
Section titled “mask?: RegExp”Mask to apply to the input. The masking is applied using maskText.
Example
Section titled “Example”const onlyNumbersMask = /\d/;onChangeText?: Function
Section titled “onChangeText?: Function”Handler for when the user attempts to change the input.