How to use the react-native-fast-image.default function in react-native-fast-image

To help you get started, we’ve selected a few react-native-fast-image examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github phated / mxdbmobile / src / FastImage.js View on Github external
function make(uri, _) {
  return ReasonReact.wrapJsForReason(ReactNativeFastImage.default, {
              source: {
                uri: uri
              },
              resizeMode: "contain",
              style: {
                height: undefined,
                width: undefined,
                flex: 1
              }
            }, /* array */[]);
}

react-native-fast-image

🚩 FastImage, performant React Native image component.

MIT
Latest version published 2 years ago

Package Health Score

61 / 100
Full package analysis