how to useRef with props.children

前端 未结 0 356
醉话见心
醉话见心 2020-12-06 01:52

hello is there a way to attach a ref to a props.children? I need to force focus on an input without explicitly using

I have a component that received input fields (w

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