-
Notifications
You must be signed in to change notification settings - Fork 264
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
Use Toast React Hooks #82
Comments
|
@danstepanov thanks, i'ts work for me. |
Works for me as well. |
So if I import "DURATION" like import Toast, {DURATION} from 'react-native-easy-toast'; ref.current is undefined. if I import Toast like import Toast from 'react-native-easy-toast'; the ref is defined, but then how do I access {DURATION}? |
Please add this to readme |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The toast will not work with the new version of React Native, who is working with Hooks, the ref of the toast does not you can add the useRef.
The text was updated successfully, but these errors were encountered: