/**
 * React Native Full App (https://store.enappd.com/product/react-native-full-app)
 *
 * Copyright © 2019-present Enappd. All rights reserved.
 *
 * This source code is licensed as per the terms found in the
 * LICENSE.md file in the root directory of this source tree.
 */

import React from 'react';
import { View } from 'native-base';
import { ActivityIndicator } from 'react-native';
import styles from './style';

interface LoadingProps {
  color: string;
}

const Loading = (props: LoadingProps) => (
  <View style={styles.container}>
    <ActivityIndicator color={props.color} size={'small'} />
  </View>
);
export default Loading;
