react-native-easy-toast icon indicating copy to clipboard operation
react-native-easy-toast copied to clipboard

Showing toast is not working on functional components

Open yathindrak opened this issue 5 years ago • 2 comments

This is not working. toastRef.current.toast.show('Image saved', DURATION.LENGTH_SHORT);

yathindrak avatar Apr 26 '20 02:04 yathindrak

Have a look: https://github.com/crazycodeboy/react-native-easy-toast/issues/45

Lasklu avatar Apr 26 '20 17:04 Lasklu

useRef hook is needed, refer to #82

ruibinch avatar Jun 20 '20 18:06 ruibinch