React Native useRef with custom TextInput and TypeScript

前端 未结 0 1294
挽巷
挽巷 2021-01-13 13:48

I am getting the following warning on my custom input component:

\'TextInput\' refers to a value, but is being used as a type here. Did you mean \'typeof TextIn

相关标签:
回答
  • 消灭零回复
提交回复
热议问题