Quantcast
Channel: Active questions tagged react-native+typescript - Stack Overflow
Viewing all articles
Browse latest Browse all 6213

Property 'blur' does not exist on type 'TextInput'

$
0
0

How to use useRef with React Native TextInput to have correct types?

React Native documentation says that TextInput has 4 methods including blur.

But, as you can see on the image below it shows me an error.

enter image description here

What type I must use?


Viewing all articles
Browse latest Browse all 6213

Trending Articles