react-native-confirmation-code-input
react-native-confirmation-code-input copied to clipboard
I have issue with installation.
when I installed this component on my project. I got the issue like this.
undefined is not an object ( evaluating _react3.default.PropTypes.func )
I think this course of line 70 on ConfirmationCodeInput.js
inputComponent: React.PropTypes.func
when I cange this with like this, I solve this out
inputComponent: PropTypes.func
which version of react native are you using?
I am using the latest version : 0.51.0
On Dec 10, 2017, at 2:47 AM, Dung Tran [email protected] wrote:
which version of react native are you using?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ttdung11t2/react-native-confirmation-code-input/issues/6#issuecomment-350487833, or mute the thread https://github.com/notifications/unsubscribe-auth/ATbfsr5ToaUgqEGmzqRaHXFcIZARM9jDks5s-rmKgaJpZM4Q8HZM.
I will update to use 'prop-types' module
Thanks
On Dec 10, 2017, at 2:49 AM, Dung Tran [email protected] wrote:
I will update to use 'prop-types' module
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ttdung11t2/react-native-confirmation-code-input/issues/6#issuecomment-350488164, or mute the thread https://github.com/notifications/unsubscribe-auth/ATbfsvFDe7bw5vcuUP_9Ovg3g63CySZ7ks5s-rn9gaJpZM4Q8HZM.
sorry, I cannot find this line and any code like this on the latest version: "undefined is not an object ( evaluating _react3.default.PropTypes.func ) I think this course of line 70 on ConfirmationCodeInput.js inputComponent: React.PropTypes.func". Are you using the latest version of module?
yes, I am using latest version of module
btw, could you make this component to get current inputed code functionality please ?