QR code not showing in react native

I am trying to render the QR code in wallet connect but whenever I uncomment the QRcode code it displays me the following error:

ERROR Invariant Violation: [837,“RNSVGRect”,1,{“fill”:-1,“propList”:[“fill”],“x”:0,“y”:0,“width”:"<>",“height”:"<>"}] is not usable as a native method argument

I am using react native

Have a look at this thread and this thread for similar discussions. I’m not sure why you want the QR code though on mobile as you can just connect your wallet directly (and you can’t directly scan it).