17 lines
369 B
TypeScript
17 lines
369 B
TypeScript
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;
|