react-native-mniwtoast
v1.2.6
Published
Custom Toast for Android / IOS
Downloads
5
Readme
Custom Toast
First Custom Toast for both Android / IOS
Installation
npm install react-native-mniwtoast
Usage
import { StatusBar } from 'expo-status-bar';
import React from 'react';
import { StyleSheet, Text, View } from 'react-native';
import { MNIToast } from 'react-native-mniwtoast';
export default function App() {
return (
<View style={styles.container}>
<MNIToast
visibility={true}
toastMsg={"Cool"}
/>
<StatusBar style="auto" />
</View>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#fff',
alignItems: 'center',
justifyContent: 'center',
},
});
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
Contributors
Muhammad Nouman Imran