react-native-bottom-toast

React native toast that works even on disable notifications

Usage no npm install needed!

<script type="module">
  import reactNativeBottomToast from 'https://cdn.skypack.dev/react-native-bottom-toast';
</script>

README

Getting started

Add react-native-bottom-toast to your js file.

npm install react-native-bottom-toast --save

Inside your component's render method, use Toast:

import Toast, {DURATION} from 'react-native-bottom-toast'

 render() {
         return (
             <View style={{flex:1}}>
                 ...
                 <Toast ref="toast"/>
             </View>
         );
 }
 this.refs.toast.show('hello world!');