Socket
Socket
Sign inDemoInstall

react-native-no-flicker-image

Package Overview
Dependencies
1
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-native-no-flicker-image

React Native image component without flicker


Version published
Weekly downloads
166
increased by12.16%
Maintainers
1
Install size
146 kB
Created
Weekly downloads
 

Readme

Source

react-native-no-flicker-image

React native Image component without flicker on android devices when source is changed. Show previous image until new one is loaded. Support all Image props.

Install

npm install react-native-no-flicker-image

Usage

import { NoFlickerImage } from 'react-native-no-flicker-image';

export default class DisplayAnImage extends Component {
  render() {
    return (
      <View>
        <NoFlickerImage
          source={require('/react-native/img/favicon.png')}
        />
        <NoFlickerImage
          style={{width: 50, height: 50}}
          source={{uri: 'https://facebook.github.io/react-native/docs/assets/favicon.png'}}
        />
      </View>
    );
  }
}

Keywords

FAQs

Last updated on 16 Aug 2018

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc