react-native-root-toast
react-native-root-toast copied to clipboard
a little suggestion
follow the README.md ,I use the first method to run , when click the button, I see a Toast, but I Quick click the button , Toasts are overlapping more . I can use the js to stop repeat, but i wish you can stop this in your plug-in.
const thisToastOnShow = true; //use a var record the Toast state
if(thisToastOnShow){
return;
}else{
return new RootSiblings(<ToastContainer
{...options}
visible={true}
>
{message}
</ToastContainer>);
}