leftIcon | React.ReactNode | An optional icon to display on the left side of the input. |
rightIcon | React.ReactNode | An optional icon to display on the right side of the input. |
error | string | An optional error message to display below the input. |
containerStyle | ViewStyle | Custom styles for the container of the input. |
inputStyle | ViewStyle | Custom styles for the text input itself. |
leftIconStyle | ViewStyle | Custom styles for the left icon. |
rightIconStyle | ViewStyle | Custom styles for the right icon. |
fontSize | number | The font size of the input text. Defaults to FONT_SIZE.md. |
fontFamily | string | The font family of the input text. |
height | number | The height of the input field. Defaults to INPUT_HEIGHT.md. |
borderColor | string | The color of the input border. |
borderWidth | number | The width of the input border. Defaults to BORDER_WIDTH.sm. |
borderRadius | number | The border radius of the input. Defaults to BORDER_RADIUS.sm. |
placeholderTextColor | string | The color of the placeholder text. |
selectionColor | string | The color of the text selection. |
cursorColor | string | The color of the text cursor. |
...restProps | TextInputProps | Any additional props that can be passed to the underlying TextInput component. |