UNPKG

react-native-vishesh-animated-loader

Version:

This is the lottie based react-native loader screen

41 lines (25 loc) 1.17 kB
This is Lottie based, react native module This module requires the Lottie component for React Native (iOS and Android) https://github.com/react-native-community/lottie-react-native ###please follow the getting started Steps for ios and android to use this module https://github.com/react-native-community/lottie-react-native ![ loader ](../loader.gif) ![ loader ]("loader.gif") ![ loader ]("./loader.gif") ![ loader ]("../loader.gif") ![loader](loader.gif) | Props |Type| Description | | ------------- |----- |------------- | | source | require()|path of the lottie.json which you want to use | | visible(req)| Bool | bool to show the loader | | text | String |string to display below loader | | height| Number | number size of loader (default 100) | | width | Number |number size of loader (default 50) | |textStyle|style|For Text Styles| |loop|Bool|for enable looping by default True| |autoPlay|Bool|by default True| |type|Number|choose from five different default loader(1,2,3,4,5) | -------------------------------------------------------- ###To Do: 1. planing to merge the lottie nativly to remove dependency #### by Vishesh Tungare