react-native-content-load

0.0.6 • Public • Published

React Native Content Load

Example


install

  1. yarn add react-native-linear-gradient react-native-content-load

or

npm install react-native-linear-gradient react-native-content-load

  1. react-native link react-native-linear-gradient

Use

import LoadWarpper from 'react-native-content-load';

<LoadWarpper>
  {Component}
</LoadWarpper>

Props

name type default description
color Object {first:['#CCC', '#F1F1F1', '#CCC'],second:['#F1F1F1', '#CCC', '#CCC']} isRequired
startX number || array 0 number -> no animation; array -> animation with startX
startY number || array 0.4 number -> no animation; array -> animation with startY
endX number || array 1 number -> no animation; array -> animation with endX
endY number || array 0.6 number -> no animation; array -> animation with endY
isLoop boolean true
speed number 3000

License

MIT

Package Sidebar

Install

npm i react-native-content-load

Weekly Downloads

3

Version

0.0.6

License

MIT

Unpacked Size

405 kB

Total Files

10

Last publish

Collaborators

  • crayon