Changes:
-
Updated all of the typescript definitions, prop-types and props list in the readme with all of the available props.
-
Updated the default styles (see the updated screenshots at the top of the readme).
-
The library now uses hooks internally
Breaking Changes:
-
Removed the following props
getDefaultValue
- use thesetAddressText
method with a ref instead.editable
- can still be used inside oftextInputProps
keyboardAppearance
- can still be used inside oftextInputProps
onSubmitEditing
- can still be used inside oftextInputProps
placeholderTextColor
- can still be used inside oftextInputProps
returnKeyType
- can still be used inside oftextInputProps
underlineColorAndroid
- can still be used inside oftextInputProps
-
Removed the following methods
triggerFocus
- use thefocus
method with a ref instead.triggerBlur
- use theblur
method with a ref instead.clearText
- use theclear
method with a ref instead.
-
Minimum react-native version is now 0.59.0+ (we now use hooks internally).
Special thanks to @strdr4605 for his help with the typescript definitions.