Skip to content

MossP/react-native-fade-in-image

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@exponent/react-native-fade-in-image

Wrap Image components in <FadeIn> to have them fade in pleasantly when they finish loading.

Installation

npm i @exponent/react-native-fade-in-image --save

Usage

export class FancyImage extends React.Component {
  render() {
    const uri = 'https://d3lwq5rlu14cro.cloudfront.net/v1/AQ5jDS5SYyUkapWWEviV.png';
    return (
      <FadeIn>
        <Image source={{uri}} style={{width: 162, height: 28}} />
      </FadeIn>
    );
  }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%