react-native-web-simple-toast
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

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

Package Sidebar

Install

npm i react-native-web-simple-toast

Weekly Downloads

6

Version

0.0.3

License

MIT

Unpacked Size

244 kB

Total Files

13

Last publish

Collaborators

  • preflower