@preflower/react-native-web-fast-image
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

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

Package Sidebar

Install

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

Weekly Downloads

55

Version

0.1.0

License

MIT

Unpacked Size

10.5 kB

Total Files

6

Last publish

Collaborators

  • preflower