Socket
Socket
Sign inDemoInstall

react-native-simple-toast

Package Overview
Dependencies
Maintainers
2
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-simple-toast - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

4

package.json
{
"name": "react-native-simple-toast",
"version": "0.0.5",
"version": "0.0.6",
"description": "Simple Toast for react-native. In Android it's just native toast, in iOS it's https://github.com/scalessec/Toast",

@@ -15,3 +15,3 @@ "main": "index.js",

"type": "git",
"url": "git+https://github.com/xgfe/react-native-simple-toast.git"
"url": "git+https://github.com/vonovak/react-native-simple-toast.git"
},

@@ -18,0 +18,0 @@ "author": "xgfe",

# 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](https://github.com/scalessec/Toast) for iOS;
React Native Toast component for both Android and iOS. It just lets iOS users have the same toast experience as on Android. Using [scalessec/Toast](https://github.com/scalessec/Toast) on iOS and the standard [ToastAndroid](http://facebook.github.io/react-native/docs/toastandroid.html) on Android;
This is based on work at https://github.com/xgfe/react-native-simple-toast.
## Install
You can use [rnpm](https://github.com/rnpm/rnpm) to install native component easily;
```bash
npm install react-native-simple-toast --save
rnpm link
react-native link react-native-simple-toast
```

@@ -14,4 +15,2 @@

It's just the same as [ToastAndroid](http://facebook.github.io/react-native/docs/toastandroid.html)
```javascript

@@ -21,3 +20,7 @@ import Toast from 'react-native-simple-toast';

Toast.show('This is a toast.');
Toast.show('This is a long toast.',Toast.LONG);
```
Toast.show('This is a long toast.', Toast.LONG);
```
## License
MIT

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc