在我的父母中我有这样的代码:
所以我通过这种方式在其中呈现我的自定义输入:
我的疑问是如何使用 ref 在该父级的任何部分访问每个输入的文本。有人可以帮助我吗?
文本输入组件:
https://gist.github.com/ThallyssonKlein/4e054bc368ebc153fbf9222e304ff887
components react-native
components ×1
react-native ×1