0.0.2 • Published 5 years ago

react-native-footer-spinner-list v0.0.2

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

react-native-footer-spinner-list

  • react-native-footer-spinner-list shows footer spinner whenever onEndReached is triggered. By default, the spinner will be platform specific one created by <ActivityIndicator /> in react-native. You can also change the spinner by assigning ListFooterComponent just like using FlatList.

  • react-native-footer-spinner-list won't expose the spinner if onEndReached is not provided or onEndReached is ended (both synchronous and asynchronous).

Alt Text

Alt Text

props

propstyperequiredexplanation
footerSpinnerStyleobject, StylePropxThis style prop is used for default ActivityIndicator. If you want to change AcitivityIndicator props, not style, use ListFooterComponent props in react-native-footer-spinner-list instead.
footerSpinnerContainerStyleobject, StylePropxThis style prop is used for container of default ActivityIndicator. For instance, if you want to change the height of footer spinner container, footerSpinnerContainerStyle={{ height: 100 }}