I can't type the ref correctly using useRef hook in typescript

后端 未结 0 394
别那么骄傲
别那么骄傲 2021-02-05 16:20

I\'m trying to pass a ref from a parent component (an EditableCell) to a Child component (Input) and use its .current.focus property when the parent is clicked.

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