react-native-qrcode icon indicating copy to clipboard operation
react-native-qrcode copied to clipboard

Failed propType error

Open sigmazen opened this issue 7 years ago • 0 comments

Hi I'm getting the following warning when adding QRCode: "Warning: Failed propType: Calling PropTypes validators directly is not supported by the prop-types package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"

I've simplified things to a minimum and if I remove the code there is no warning produced:

    <QRCode
        value={'0'}
        size={160}
        bgColor='#444444'
        fgColor='white'
    />

My versions are:

"react": "^15.1.0",
"react-native": "^0.27.2",
"react-native-qrcode": "^0.2.6"

Any ideas? Thanks in advance

sigmazen avatar Sep 08 '17 20:09 sigmazen