Nav apraksta

Loading.js 396B

123456789101112131415161718
  1. import React from 'react';
  2. import { View, ActivityIndicator, StyleSheet } from 'react-native';
  3. export default function Loading() {
  4. return (
  5. <View style={styles.loadingContainer}>
  6. <ActivityIndicator size='large' color='#6646ee' />
  7. </View>
  8. );
  9. }
  10. const styles = StyleSheet.create({
  11. loadingContainer: {
  12. flex: 1,
  13. alignItems: 'center',
  14. justifyContent: 'center'
  15. }
  16. });