Socket
Book a DemoInstallSign in
Socket

react-native-web-simple-toast

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-web-simple-toast

react-native-simple-toast for Web

latest
Source
npmnpm
Version
0.0.3
Version published
Weekly downloads
2
100%
Maintainers
1
Weekly downloads
 
Created
Source

react-native-web-simple-toast

npm version

react-native-simple-toast for Web.

Overview

react-native-web-simple-toast allow you to using react-native-simple-toast seamlessly on the web.

react-native-web-simple-toast simulate iOS style, and don't support viewControllerBlacklist params.

Usage

npm i react-native-web-simple-toast

index.web.{tsx,jsx}

import `react-native-simple-toast/dist/index.css`

webpack.config.js

  module.exports = {
    ...
    resolve: [
      alias: [
        ...
        'react-native': 'react-native-web',
+       /* set alias from react-native-simple-toast to react-native-web-simple-toast */
+       'react-native-simple-toast': 'react-native-web-simple-toast'
      ]
    ]
  }

License

MIT

Keywords

react-native-simple-toast

FAQs

Package last updated on 18 Mar 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts