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

I have issue with installation. #6

Open RoyalDeveloper2015 opened 6 years ago

RoyalDeveloper2015 commented 6 years ago

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

ttdung11t2 commented 6 years ago

which version of react native are you using?

RoyalDeveloper2015 commented 6 years ago

I am using the latest version : 0.51.0

On Dec 10, 2017, at 2:47 AM, Dung Tran notifications@github.com 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.

ttdung11t2 commented 6 years ago

I will update to use 'prop-types' module

RoyalDeveloper2015 commented 6 years ago

Thanks

On Dec 10, 2017, at 2:49 AM, Dung Tran notifications@github.com 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.

ttdung11t2 commented 6 years ago

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?

RoyalDeveloper2015 commented 6 years ago

yes, I am using latest version of module

btw, could you make this component to get current inputed code functionality please ?