Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 636 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 636 Bytes

react-native-simple-toast

React Native Toast component for both Android and iOS. It just let iOS have the same toast performance with Android. Using scalessec/Toast for iOS;

Install

You can use rnpm to install native component easily;

npm install react-native-simple-toast --save
rnpm link

Usage

It's just the same as ToastAndroid

import Toast from 'react-native-simple-toast';

Toast.show('This is a toast.');
Toast.show('This is a long toast.',Toast.LONG);