How can i focus on textfield in child file on click of an icon which is in parent file in react native?
What I am trying to achieve is focusing on TextInput present in child component when clicked on an icon present in parent file. I have tried using refs and forward refs but that means i have to wrap …