Ecosyste.ms: Awesome

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

https://github.com/heyman333/react-native-frame-loading

⛹️‍♀️⛹️‍♂️ Like animation LoadingIndicator with frame by frame view in React-Native
https://github.com/heyman333/react-native-frame-loading

Last synced: 28 days ago
JSON representation

⛹️‍♀️⛹️‍♂️ Like animation LoadingIndicator with frame by frame view in React-Native

Lists

README

        

## react-native-frame-loading [![NPM version](https://img.shields.io/badge/npm-v0.1.4-blue.svg)](https://www.npmjs.com/package/react-native-frame-loading)

##### This package offers Loading indicator with frame by frame view or image

#### Install
```
yarn add react-native-frame-loading
# or
npm install react-native-frame-loading --save
```

#### Screenshot

#### Props
|props |default|type |description |
|:--------:|:-----:|:----:|-----------------------------------------------------|
|animating |false |bool |Determines wheter the loading indicator shows or not
|views |[] |array |Specific views that will be shown frame by frame
|duration |450 |number|Determines how long a frame lasts
|modalProps|{} |object|original [Modal component](https://facebook.github.io/react-native/docs/modal.html) props
|loadingContainerStyle|`flex: 1, "center"`|object|style object of floating view container

#### Usage
```js
import FrameLoading from "react-native-frame-loading"
import Icon from "react-native-vector-icons/FontAwesome"

const VIEWS = [


,



...

]

render() {
return (

\


)
}
}

```