4.1.0 • Published 4 years ago

react-native-kenburns-view v4.1.0

Weekly downloads
9
License
ISC
Repository
github
Last release
4 years ago

react-native-kenburns-view npm version

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

Tested on React Native 0.40+ iOS and Android.

Installation

Note: Requires React Timeout. If it's not available, install it from the command below.

$ npm i react-timeout --save

The proceed to install the library

$ 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)

PropDescription
tensionint Tension Value.
frictionint Friction Value.
imageWidthint Image Width.
imageHeightint Image Height.
sourceUriURI String Image URL.
placeholderSourceURI String Placeholder Image URL (Possibly a Local Image).
autoStartboolean Autostarts the animation.

npm

Link: react-native-kenburns-view on npm

License

ISC License

Feedback

Email: nimilahiran@gmail.com Twitter: nHiRanZ on Twitter

4.1.0

4 years ago

4.0.0

4 years ago

3.0.0

6 years ago

2.1.0

6 years ago

2.0.1

6 years ago

1.0.0

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago