0.1.0 • Published 2 years ago

@preflower/react-native-web-fast-image v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

react-native-web-fast-image

npm version

react-native-fast-image for Web.

Overview

react-native-web-fast-image allow you to using react-native-fast-image seamlessly on the web by adding one line webpack config

Usage

$ npm i @preflower/react-native-web-fast-image

webpack.config.js

  module.exports = {
    ...
    resolve: [
      alias: [
        ...
        'react-native': 'react-native-web',
+       /* set alias from react-native-fast-image to react-native-web-fastimage */
+       'react-native-fast-image': '@preflower/react-native-web-fast-image'
      ]
    ]
  }

License

MIT