import React from 'react';
import { ActivityIndicator } from 'react-native';
import { useTheme } from 'react-native-paper';
import { RootView } from '.';

const LoadingView = () => {
  const { colors } = useTheme();

  return (
    <RootView centered>
      <ActivityIndicator size="large" color={colors.primary} />
    </RootView>
  );
};

export default LoadingView;
