Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/phuochau/react-native-beautiful-image

The Beautiful Image component that supports fadeIn animation and shows placeholderSource if the main source can't be loaded. More will be implemented.
https://github.com/phuochau/react-native-beautiful-image

react-native react-native-component

Last synced: 2 months ago
JSON representation

The Beautiful Image component that supports fadeIn animation and shows placeholderSource if the main source can't be loaded. More will be implemented.

Lists

README

        

react-native-beautiful-image
===

The Image component that supports fadeIn animation and shows placeholderSource if the main source can't be loaded. More will be implemented.

![Sample](screenshot.gif)

## Installation

```bash
npm i --save react-native-beautiful-image
```

Please file an issue if you have any trouble!

## Usage

```jsx
import Image from 'react-native-beautiful-image';

....

```
## Options
Supports all [Image](https://facebook.github.io/react-native/docs/images.html) properties.

option | Info
------ | ----
placeholderSource | Show `placeholderSource` if the `source` can't be loaded.

## Todo
- Support more animations
- Lazy Loading based on position in View.
- TBD

## License

MIT