2.0.2 • Published 6 years ago

react-native-bottom-toast v2.0.2

Weekly downloads
2
License
ISC
Repository
-
Last release
6 years ago

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!');