r/reactnative • • Nov 25 '19

https://github.com/tienph6m/react-native-animated-spinkit - A pure JavaScript port of SpinKit for React Native

286 Upvotes

34 comments sorted by

View all comments

1

u/EskimoEmoji Nov 25 '19 edited Nov 25 '19

This is sweet. Is there a way to replace the Flatlist activity indicator with these?

2

u/tienph6m Nov 26 '19

Hi, I'm not sure what you mean by "FlatList activity indicator". You can use these like React Native's ActivityIndicator, in a list you would probably want to show one of these when the list is empty and loading. If you're talking about RefreshControl, this library alone isn't enough since a refresh control does a lot more than just showing/hiding a loading indicator.