loading spinner react native expo code example
Example: expo loading spinner
import React from 'react';
import { ActivityIndicator, StyleSheet, Text, View } from 'react-native';
export function App() {
return (
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
},
horizontal: {
flexDirection: 'row',
justifyContent: 'space-around',
padding: 10,
},
});