react-native-gradient-loader
v0.1.1
Published
Amazing looking slider loader for react native
Downloads
138
Readme
react-native-gradient-loader
Amazing looking slider loader for react native
Installation
npm install react-native-next-carousel
Or
yarn add react-native-next-carousel
Install lottie package
npm install lottie-react-native
Or
yarn add lottie-react-native
Usage
import { GradientLoader } from "react-native-gradient-loader";
<GradientLoader
speed={2}
opacity={1}
height={4}
backgroundColor={"#f2f2f2"}
/>
Props
| Property | Type | Default | Description |
| -------------------- | :-----: | :-----: | -------------------------------------------- |
| width | number | Default | set the image source or data object |
| height | number | 400 | set image height |
| opacity | number | 1 | set the image source or data object |
| speed | number | 2 | set image height |
| backgroundColor | string |#f2f2f2
| set the image source or data object |
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT