react-native-phone-input
                                
                                 react-native-phone-input copied to clipboard
                                
                                    react-native-phone-input copied to clipboard
                            
                            
                            
                        Warning: Stateless function components cannot be given refs.
How to use these function without refs? My rn-phone-input is functional component. Your examples are class components. I don't need class components when I can use functional ones. So how do I utilize these function in functional components?
https://github.com/thegamenicorus/react-native-phone-input#functions