Skip to content

hashrocket/react-native-kenburns-view

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-native-kenburns-view npm version

KenBurns Image Effect for React Native. Based on Image Component Image Component. Version: 1.0.0

Tested on React Native 0.27+ iOS and Android.

Installation

$ npm i react-native-kenburns-view --save

Demo/Example

kenburns view demo

Go to react-native-kenburns-view/example/KenBurnsExample to view the example.

Usage

<BurnsImage tension={4} friction={50} imageWidth={200} imageHeight={100} sourceUri={require(./images/kenburnsimage.jpg)} placeholderSource={require( './images/placeholder.jpg')}>
</BurnsImage>

API (props)

Prop Description
tension int Tension Value.
friction int Friction Value.
imageWidth int Image Width.
imageHeight int Image Height.
sourceUri URI String Image URL.
placeholderSource URI String Placeholder Image URL (Possibly a Local Image).

npm

Link: react-native-kenburns-view on npm

License

ISC License

Feedback

Email: [email protected] Twitter: nHiRanZ on Twitter

About

KenBurns Image Effect for React Native Applications

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 47.1%
  • Objective-C 44.0%
  • Java 8.9%