Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use ref? #5

Open
Sudhirsofmen opened this issue Jul 4, 2022 · 1 comment
Open

How to use ref? #5

Sudhirsofmen opened this issue Jul 4, 2022 · 1 comment

Comments

@Sudhirsofmen
Copy link

I am unable to use ref in react-native-element-textinput

<TextInput
ref={tfRef}

    />
@Sudhirsofmen Sudhirsofmen changed the title How to use ref How to use ref? Jul 4, 2022
@XxQuickSilverZz
Copy link

still a problem
Warning: Function components cannot be given refs. Attempts to access this ref will fail. Did you mean
to use React.forwardRef()?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants