ttdung11t2 / react-native-confirmation-code-input

A react-native component to input confirmation code for both Android and IOS
MIT License
411 stars 349 forks source link

onChangeCode callback and defaultCode props added. Readme updated. #24

Open rahulhaque opened 6 years ago

rahulhaque commented 6 years ago

Added a callback function onChangeCode that will return the last input code every time a value is changed. Added a new props defaultCode which will set the initial value for the code inputs. defaultCode must be used with autoFocus set to false as this overrides the focus for inputs.

luckyxhu commented 6 years ago

why not this pr get not merge?