Skip to content

v2.0.0

Compare
Choose a tag to compare
@bell-steven bell-steven released this 08 Oct 23:28
· 114 commits to master since this release

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:

  1. Removed the following props

    • getDefaultValue - use the setAddressText method with a ref instead.
    • editable - can still be used inside of textInputProps
    • keyboardAppearance - can still be used inside of textInputProps
    • onSubmitEditing - can still be used inside of textInputProps
    • placeholderTextColor - can still be used inside of textInputProps
    • returnKeyType - can still be used inside of textInputProps
    • underlineColorAndroid - can still be used inside of textInputProps
  2. Removed the following methods

    • triggerFocus - use the focus method with a ref instead.
    • triggerBlur - use the blur method with a ref instead.
    • clearText - use the clear method with a ref instead.
  3. 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.